1
- import fs from 'fs' ;
1
+ import * as fs from 'fs' ;
2
2
import { resolve } from 'path' ;
3
3
4
4
import { assertIsDefined , createTestApp , gql , waitForExpect } from '../src' ;
@@ -97,7 +97,7 @@ test('create test app with codegen', async () => {
97
97
TKey extends string,
98
98
TParent,
99
99
TContext,
100
- TArgs
100
+ TArgs,
101
101
> {
102
102
subscribe: SubscriptionSubscribeFn<
103
103
{ [key in TKey]: TResult },
@@ -123,7 +123,7 @@ test('create test app with codegen', async () => {
123
123
TKey extends string,
124
124
TParent,
125
125
TContext,
126
- TArgs
126
+ TArgs,
127
127
> =
128
128
| SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs>
129
129
| SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
@@ -133,7 +133,7 @@ test('create test app with codegen', async () => {
133
133
TKey extends string,
134
134
TParent = {},
135
135
TContext = {},
136
- TArgs = {}
136
+ TArgs = {},
137
137
> =
138
138
| ((
139
139
...args: any[]
@@ -158,7 +158,7 @@ test('create test app with codegen', async () => {
158
158
TResult = {},
159
159
TParent = {},
160
160
TContext = {},
161
- TArgs = {}
161
+ TArgs = {},
162
162
> = (
163
163
next: NextResolverFn<TResult>,
164
164
parent: TParent,
@@ -183,7 +183,8 @@ test('create test app with codegen', async () => {
183
183
184
184
export type QueryResolvers<
185
185
ContextType = EZContext,
186
- ParentType extends ResolversParentTypes['Query'] = ResolversParentTypes['Query']
186
+ ParentType extends
187
+ ResolversParentTypes['Query'] = ResolversParentTypes['Query'],
187
188
> = {
188
189
hello?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
189
190
};
0 commit comments