2020-06-22 07:00:45 +02:00
|
|
|
{
|
|
|
|
"exclude": ["node_modules", "dist"],
|
|
|
|
"compilerOptions": {
|
2020-11-01 05:26:58 +01:00
|
|
|
"target": "es6",
|
2020-06-22 07:00:45 +02:00
|
|
|
"module": "es6",
|
2021-04-20 14:23:28 +02:00
|
|
|
"lib": [
|
|
|
|
"es2017",
|
|
|
|
"es2020.string",
|
|
|
|
"es2019.array",
|
|
|
|
"es2018.promise",
|
|
|
|
"dom",
|
|
|
|
"dom.iterable"
|
|
|
|
],
|
2020-11-01 05:26:58 +01:00
|
|
|
"baseUrl": ".",
|
|
|
|
"paths": {
|
2021-03-22 03:06:53 +01:00
|
|
|
"anki/*": ["../bazel-bin/ts/lib/*"],
|
2021-03-25 00:43:01 +01:00
|
|
|
"sveltelib/*": ["../bazel-bin/ts/sveltelib/*"],
|
2021-04-19 23:51:09 +02:00
|
|
|
"html-filter/*": ["../bazel-bin/ts/html-filter/*"],
|
|
|
|
"editor-toolbar/*": ["../bazel-bin/ts/editor-toolbar/*"]
|
2020-11-01 05:26:58 +01:00
|
|
|
},
|
|
|
|
"importsNotUsedAsValues": "error",
|
2020-06-22 07:00:45 +02:00
|
|
|
"outDir": "dist",
|
|
|
|
/* Strict Type-Checking Options */
|
|
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
|
|
"noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
|
|
"strictNullChecks": true /* Enable strict null checks. */,
|
|
|
|
"strictFunctionTypes": true /* Enable strict checking of function types. */,
|
|
|
|
"strictBindCallApply": true /* Enable strict 'bind', 'call', and 'apply' methods on functions. */,
|
|
|
|
"strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
|
|
|
|
"noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
|
|
|
|
"alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
|
|
|
|
/* Module Resolution Options */
|
|
|
|
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
|
|
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
|
|
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
|
|
"jsx": "react",
|
2021-03-28 11:39:11 +02:00
|
|
|
"types": ["svelte", "long", "node", "jest"],
|
2020-11-01 05:26:58 +01:00
|
|
|
"noEmitHelpers": true,
|
|
|
|
"importHelpers": true
|
2020-06-22 07:00:45 +02:00
|
|
|
}
|
|
|
|
}
|