Repository navigation
Commit 720f5a3
committed
The file had no `// @ts-check` header, so an editor or a plain `tsc --allowJs` never type-checks it.
It needs no other change: `tsc --noEmit --allowJs --checkJs --skipLibCheck --target es2022 --module
commonjs --types node web/ai-extension/skills.js` (TypeScript 6.0 from the Code-OSS checkout, whose
defaults are strict) reports nothing, before and after, and `tsc --allowJs` without --checkJs now
checks it too and reports nothing.
No unit test: the header changes no behaviour (web/test/unit/skills.test.js passes as before); the
check is the tsc run above. The other files in web/ai-extension have no header either; they are left
as they are.
1 parent 27b790e commit 720f5a3
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments