This will enable VS Code to do type-checking on these files. Most of the problems it found were fairly trivial (or wrong type declarations), but the extra call to _removeSlowCAMessage() seems like a real problem (will flag in the review) Differential Revision: https://phabricator.services.mozilla.com/D245625
15 lines
288 B
JSON
15 lines
288 B
JSON
{
|
|
"extends": "../../../../tools/@types/tsconfig.json",
|
|
"include": ["*.mjs", "types/*.ts"],
|
|
|
|
"compilerOptions": {
|
|
"checkJs": true,
|
|
"plugins": [
|
|
{
|
|
"transform": "../../../../tools/ts/plugins/checkRootOnly.js",
|
|
"transformProgram": true
|
|
}
|
|
]
|
|
}
|
|
}
|