AniwatchPlus/tsconfig.json

9 lines
523 B
JSON
Raw Permalink Normal View History

2020-12-28 22:08:50 +01:00
{
"compilerOptions": {
2020-12-29 16:59:53 +01:00
"esModuleInterop": true,
2020-12-28 22:08:50 +01:00
// You have to explicitly set @types to get DefinitelyTyped type definitions
"typeRoots": ["node_modules/@types", "node_modules/web-ext-types"],
// Default would be DOM,ES6,DOM.Iterable,ScriptHost (see https://www.typescriptlang.org/docs/handbook/compiler-options.html). However the ES 2020 is required for string.prototype.matchAll (see https://stackoverflow.com/a/57298833).
"lib": ["ES2020", "DOM", "DOM.Iterable", "ScriptHost"]
2020-12-28 22:08:50 +01:00
}
}