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.
1 parent 5113edb commit 3cac84aCopy full SHA for 3cac84a
2 files changed
test/errors.ts
@@ -1,7 +1,7 @@
1
import { PluginCreator } from '../lib/postcss.js'
2
3
const plugin: PluginCreator<{ a: number }> = opts => {
4
- // THROWS Object is possibly 'undefined'
+ // THROWS 'opts' is possibly 'undefined'
5
console.log(opts.a)
6
// THROWS Property 'b' does not exist on type '{ a: number; }'
7
console.log(opts?.b)
tsconfig.json
@@ -5,6 +5,7 @@
"allowJs": true,
"strict": true,
"noEmit": true,
8
+ "skipLibCheck": true,
9
"esModuleInterop": true
10
}
11
0 commit comments