We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
strict
tsconfig.json
1 parent 15362d1 commit 15f5255Copy full SHA for 15f5255
index.js
@@ -9,5 +9,5 @@ import {convertElement} from 'hast-util-is-element'
9
* Check if a node is a script-supporting element.
10
* @type {AssertScriptOrTemplate}
11
*/
12
-// @ts-ignore Sure, the assertion matches.
+// @ts-expect-error Sure, the assertion matches.
13
export const scriptSupporting = convertElement(['script', 'template'])
tsconfig.json
@@ -10,6 +10,7 @@
"declaration": true,
"emitDeclarationOnly": true,
"allowSyntheticDefaultImports": true,
- "skipLibCheck": true
+ "skipLibCheck": true,
14
+ "strict": true
15
}
16
0 commit comments