Skip to content

Commit d78e32c

Browse files
committed
TS: fix failing custom type for TArgs in GraphQLFieldResolver
1 parent 278bde0 commit d78e32c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type/definition.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ export type GraphQLIsTypeOfFn<TSource, TContext> = (
431431
export type GraphQLFieldResolver<
432432
TSource,
433433
TContext,
434-
TArgs = { [argName: string]: any }
434+
TArgs = { [argName: string]: any } | any
435435
> = (
436436
source: TSource,
437437
args: TArgs,

0 commit comments

Comments
 (0)