Skip to content

Commit

Permalink
enable noImplicitAny
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed May 20, 2023
1 parent df32047 commit c99978c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/react-docgen/src/Documentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export default class DocumentationBuilder {
const obj: Documentation = {};

for (const [key, value] of this.#data) {
// @ts-expect-error custom handlers can add any properties to Documentation
obj[key] = value;
}

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"target": "es2020",
"module": "es2020",
"strict": true,
"noImplicitAny": false,
"noImplicitAny": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
Expand Down

0 comments on commit c99978c

Please sign in to comment.