anki/ts/tsconfig.json
Damien Elmes a7578245d0 Add es2019.string back to tsconfig
Our eslint tests were breaking, as it appears that later years do not
include APIs added in previous years, like trimStart()
2023-05-11 15:10:27 +10:00

66 lines
1.7 KiB
JSON

{
"include": [],
"exclude": [],
"references": [
{ "path": "components" },
{ "path": "congrats" },
{ "path": "deck-options" },
{ "path": "editable" },
{ "path": "editor" },
{ "path": "graphs" },
{ "path": "html-filter" },
{ "path": "reviewer" },
{ "path": "lib" },
{ "path": "mathjax" },
{ "path": "domlib" },
{ "path": "sveltelib" },
{ "path": "icons" }
],
"compilerOptions": {
"declaration": true,
"isolatedModules": true,
"composite": true,
"target": "es2019",
"module": "es2020",
"lib": [
"es2017",
"es2018.intl",
"es2018.promise",
"es2018.regexp",
"es2019.array",
"es2019.object",
"es2019.string",
"es2020.string",
"es2020.promise",
"dom",
"dom.iterable"
],
"outDir": "../out",
"rootDir": "..",
"rootDirs": [
"..",
"../out"
],
"baseUrl": ".",
"paths": {
"@tslib/*": ["lib/*", "../out/ts/lib/*"]
},
"types": [],
"verbatimModuleSyntax": true,
"strict": true,
"noImplicitAny": false,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "react",
"noEmitHelpers": true,
"importHelpers": true
}
}