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 5da1d10 commit 40299faCopy full SHA for 40299fa
index.js
@@ -16,11 +16,11 @@ const max = 6
16
* @returns {T}
17
*/
18
export function normalizeHeadings(tree) {
19
- /** @type {boolean} */
+ /** @type {boolean|undefined} */
20
let multiple
21
- /** @type {Heading} */
+ /** @type {Heading|undefined} */
22
let first
23
24
let title
25
26
visit(
tsconfig.json
@@ -10,6 +10,7 @@
10
"declaration": true,
11
"emitDeclarationOnly": true,
12
"allowSyntheticDefaultImports": true,
13
- "skipLibCheck": true
+ "skipLibCheck": true,
14
+ "strict": true
15
}
0 commit comments