Skip to content

Commit c99978c

Browse files
committed
enable noImplicitAny
1 parent df32047 commit c99978c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/react-docgen/src/Documentation.ts

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ export default class DocumentationBuilder {
205205
const obj: Documentation = {};
206206

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

tsconfig.base.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"target": "es2020",
77
"module": "es2020",
88
"strict": true,
9-
"noImplicitAny": false,
9+
"noImplicitAny": true,
1010
"noImplicitReturns": true,
1111
"noUncheckedIndexedAccess": true,
1212
"noUnusedLocals": true,

0 commit comments

Comments
 (0)