vscode/extensions/shared.tsconfig.json
Matt Bierner b1c5e2f19b
Don't include dom typings in extensions (#89942)
**Problem**
All of our extensions currently are built using the dom typings. This can lead to runtime errors if you mistakenly use `window` or similar

**Fix**
Exclude the dom typings from compile. Then explicitly import the node types for `URL` and `TextEncoder`
2020-02-04 11:08:22 -08:00

16 lines
254 B
JSON

{
"compilerOptions": {
"target": "es2018",
"lib": [
"es2018"
],
"module": "commonjs",
"strict": true,
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}