We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb028f commit b33a437Copy full SHA for b33a437
src/__tests__/TreeToTS/Thunder.spec.ts
@@ -13,7 +13,7 @@ describe('Thunder tests', () => {
13
const tree = Parser.parseAddExtensions(schema);
14
const typeScriptCode = TreeToTS.resolveTree({ tree });
15
expect(typeScriptCode).toContain(`export const Thunder = (fn: FetchFunction) => <
16
- O extends 'query' | 'mutation' | 'subscription',
+ O extends 'query',
17
R extends keyof ValueTypes = GenericOperation<O>
18
>(
19
operation: O,
0 commit comments