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 a8942d4 commit 4078f98Copy full SHA for 4078f98
test.js
@@ -8,7 +8,7 @@ import {normalize} from './index.js'
8
9
test('Basic', (t) => {
10
t.throws(() => {
11
- // @ts-ignore runtime.
+ // @ts-expect-error runtime.
12
normalize(true)
13
}, 'should fail when given a boolean')
14
tsconfig.json
@@ -10,6 +10,7 @@
"declaration": true,
"emitDeclarationOnly": true,
"allowSyntheticDefaultImports": true,
- "skipLibCheck": true
+ "skipLibCheck": true,
+ "strict": true
15
}
16
0 commit comments