Skip to content

Commit 4308a4f

Browse files
committed
Add strict to tsconfig.json
1 parent bca7cdc commit 4308a4f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function walk(node, state) {
4848
for (key in node) {
4949
if (own.call(node, key)) {
5050
/** @type {EstreeNode|EstreeNode[]} */
51+
// @ts-expect-error: indexable.
5152
const value = node[key]
5253

5354
// Ignore comments.

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"declaration": true,
1212
"emitDeclarationOnly": true,
1313
"allowSyntheticDefaultImports": true,
14-
"skipLibCheck": true
14+
"skipLibCheck": true,
15+
"strict": true
1516
}
1617
}

0 commit comments

Comments
 (0)