Skip to content

Commit 15f5255

Browse files
committed
Add strict to tsconfig.json
1 parent 15362d1 commit 15f5255

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ import {convertElement} from 'hast-util-is-element'
99
* Check if a node is a script-supporting element.
1010
* @type {AssertScriptOrTemplate}
1111
*/
12-
// @ts-ignore Sure, the assertion matches.
12+
// @ts-expect-error Sure, the assertion matches.
1313
export const scriptSupporting = convertElement(['script', 'template'])

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"declaration": true,
1111
"emitDeclarationOnly": true,
1212
"allowSyntheticDefaultImports": true,
13-
"skipLibCheck": true
13+
"skipLibCheck": true,
14+
"strict": true
1415
}
1516
}

0 commit comments

Comments
 (0)