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 a08a04b commit 0b65db1Copy full SHA for 0b65db1
src/types.ts
@@ -1,12 +1,10 @@
1
-import { oldVisit } from '@graphql-codegen/plugin-helpers';
2
import { ASTNode, ASTVisitFn } from 'graphql';
3
4
export type NewVisitor = Partial<{
5
readonly [NodeT in ASTNode as NodeT['kind']]?: {
6
leave?: ASTVisitFn<NodeT>;
7
};
8
}>;
9
-export type OldLeaveVisitor = Partial<Parameters<typeof oldVisit>[1]['leave']>;
10
export type SchemaVisitor = {
11
buildImports: () => string[];
12
initialEmit: () => string;
0 commit comments