Skip to content

Commit

Permalink
tsconfig: enable noImplicitOverride check
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jul 7, 2022
1 parent 0652a6e commit ffe37cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/error/GraphQLError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class GraphQLError extends Error {
return 'GraphQLError';
}

toString(): string {
override toString(): string {
let output = this.message;

if (this.nodes) {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": false, // FIXME
"noFallthroughCasesInSwitch": false, // TODO consider
"noImplicitOverride": false, // FIXME
"noImplicitOverride": true,
"noImplicitReturns": false, // TODO consider
"noPropertyAccessFromIndexSignature": false, // TODO consider
"noUncheckedIndexedAccess": false, // FIXME
Expand Down

0 comments on commit ffe37cb

Please sign in to comment.