Skip to content

Commit c70433e

Browse files
committed
lint!
1 parent 5fd69d4 commit c70433e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/language/__tests__/parser-test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { Kind } from '../kinds';
1111
import { parse, parseConstValue, parseType, parseValue } from '../parser';
1212
import { Source } from '../source';
1313
import { TokenKind } from '../tokenKind';
14-
import { OperationDefinitionNode } from '../ast';
1514

1615
function expectSyntaxError(text: string) {
1716
return expectToThrowJSON(() => parse(text));

src/language/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export class Parser {
311311
);
312312
}
313313

314-
if (keywordToken.value == 'extend') {
314+
if (keywordToken.value === 'extend') {
315315
return this.parseTypeSystemExtension();
316316
}
317317
}

0 commit comments

Comments
 (0)