We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
strict
tsconfig.json
1 parent 98a64b4 commit 6a96c02Copy full SHA for 6a96c02
index.js
@@ -9,7 +9,7 @@ import {convertElement} from 'hast-util-is-element'
9
* Check if a node is a heading element (includes `hgroup`!).
10
* @type {AssertHeading}
11
*/
12
-// @ts-ignore Sure, the assertion matches.
+// @ts-expect-error Sure, the assertion matches.
13
export const heading = convertElement([
14
'h1',
15
'h2',
tsconfig.json
@@ -10,6 +10,7 @@
"declaration": true,
"emitDeclarationOnly": true,
"allowSyntheticDefaultImports": true,
- "skipLibCheck": true
+ "skipLibCheck": true,
+ "strict": true
}
16
0 commit comments