Skip to content

Commit 4970555

Browse files
IvanGoncharovyaacovCR
authored andcommitted
tsconfig: enable noImplicitOverride check
1 parent 548dd94 commit 4970555

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/error/GraphQLError.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class GraphQLError extends Error {
173173
return 'GraphQLError';
174174
}
175175

176-
toString(): string {
176+
override toString(): string {
177177
let output = this.message;
178178

179179
if (this.nodes) {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"allowUnusedLabels": false,
2525
"exactOptionalPropertyTypes": false, // FIXME
2626
"noFallthroughCasesInSwitch": false, // TODO consider
27-
"noImplicitOverride": false, // FIXME
27+
"noImplicitOverride": true,
2828
"noImplicitReturns": false, // TODO consider
2929
"noPropertyAccessFromIndexSignature": false, // TODO consider
3030
"noUncheckedIndexedAccess": false, // FIXME

0 commit comments

Comments
 (0)