Skip to content

Commit 1585e74

Browse files
authored
chore: _Kind is causing issues in graphql 15 (#1642)
was breaking parser in some typescript builds
1 parent f6ba764 commit 1585e74

File tree

1 file changed

+1
-2
lines changed
  • packages/graphql-language-service-parser/src

1 file changed

+1
-2
lines changed

packages/graphql-language-service-parser/src/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Kind } from 'graphql';
2-
import { _Kind } from 'graphql/language/kinds';
32
import { Maybe } from 'graphql-language-service-types';
43
import CharacterStream from './CharacterStream';
54

@@ -114,7 +113,7 @@ export const RuleKinds = {
114113
...AdditionalRuleKinds,
115114
};
116115

117-
export type _RuleKinds = _Kind & typeof AdditionalRuleKinds;
116+
export type _RuleKinds = typeof Kind & typeof AdditionalRuleKinds;
118117

119118
export type RuleKind = _RuleKinds[keyof _RuleKinds];
120119
export type RuleKindEnum = RuleKind;

0 commit comments

Comments
 (0)