Skip to content

Commit

Permalink
graphql: Annotates "ResponseComposition" generic
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Dec 2, 2020
1 parent 55f1abd commit 8a5f573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const graphqlContext: GraphQLMockedContext = {

export type GraphQLResponseResolver<QueryType, VariablesType> = (
req: GraphQLMockedRequest<VariablesType>,
res: ResponseComposition,
res: ResponseComposition<any>,
context: GraphQLMockedContext,
) => AsyncResponseResolverReturnType<MockedResponse>

Expand Down

0 comments on commit 8a5f573

Please sign in to comment.