mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 11:10:48 +00:00
b1c5e2f19b
**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`
15 lines
254 B
JSON
15 lines
254 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2018",
|
|
"lib": [
|
|
"es2018"
|
|
],
|
|
"module": "commonjs",
|
|
"strict": true,
|
|
"alwaysStrict": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true
|
|
}
|
|
}
|