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 8ce2534 commit b3cb43aCopy full SHA for b3cb43a
src/Models/Types.ts
@@ -1,4 +1,3 @@
1
-import { Kind } from 'graphql';
2
import { TypeDefinitionDisplayStrings, TypeSystemDefinitionDisplayStrings } from './DisplayMap';
3
import {
4
Helpers,
@@ -30,7 +29,7 @@ export type AllTypes =
30
29
| Helpers
31
| Type;
32
33
-export const kindAsAllTypes = (v: Kind) => v as unknown as AllTypes;
+export const kindAsAllTypes = (v: string) => v as AllTypes;
34
export interface GraphQLNodeParams {
35
type: AllTypes;
36
}
0 commit comments