**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
|
|
}
|
|
}
|