Skip to content

Commit b3cb43a

Browse files
committed
🐛 fixed kind
1 parent 8ce2534 commit b3cb43a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Models/Types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Kind } from 'graphql';
21
import { TypeDefinitionDisplayStrings, TypeSystemDefinitionDisplayStrings } from './DisplayMap';
32
import {
43
Helpers,
@@ -30,7 +29,7 @@ export type AllTypes =
3029
| Helpers
3130
| Type;
3231

33-
export const kindAsAllTypes = (v: Kind) => v as unknown as AllTypes;
32+
export const kindAsAllTypes = (v: string) => v as AllTypes;
3433
export interface GraphQLNodeParams {
3534
type: AllTypes;
3635
}

0 commit comments

Comments
 (0)