You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typescript error: node_modules/nexus/dist/plugin.d.ts(114,123): error TS2707: Generic type 'GraphQLFieldResolver' requires between 2 and 3 type arguments.
The text was updated successfully, but these errors were encountered:
The problem will go away if you use graphql 16.
Graphql 16 added a fourth generic parameter which plugin.d.ts shouldn't be using if they want nexus to stay v15 compatible.
Fresh install of nexus, and I'm getting a typescript error in the plugin.d.ts file within the nexus package.
Offending code:
export declare function composeMiddlewareFns<T>(middlewareFns: MiddlewareFn[], resolver: GraphQLFieldResolver<any, any>): GraphQLFieldResolver<any, any, any, unknown>;
typescript error:
node_modules/nexus/dist/plugin.d.ts(114,123): error TS2707: Generic type 'GraphQLFieldResolver' requires between 2 and 3 type arguments.
The text was updated successfully, but these errors were encountered: