9e0f43d542
* lazy load locales * fix translation getter * prettier ignore all generated i18n files * fix menu translation reactivity * put language and country translations into namespace * use Intl.DisplayNames to provide language and region translations * update typesafe-i18n * fix newly added translations * remove unused translations * add fallback to locale code when Intl.DisplayNames is unavailable
42 lines
1.7 KiB
JSON
42 lines
1.7 KiB
JSON
{
|
|
// "include": ["src/**/*"],
|
|
|
|
"extends": "@tsconfig/svelte/tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "./dist/",
|
|
"sourceMap": true,
|
|
"moduleResolution": "node",
|
|
//"module": "CommonJS",
|
|
"module": "ESNext",
|
|
"target": "ES2020",
|
|
"declaration": false,
|
|
"downlevelIteration": true,
|
|
"jsx": "react",
|
|
"allowJs": true,
|
|
"esModuleInterop": true,
|
|
|
|
"importsNotUsedAsValues": "remove",
|
|
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"noImplicitAny": true, /* 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. */
|
|
|
|
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
"paths": {
|
|
"@wa-preload-app": ["../desktop/electron/src/preload-app/types.ts"],
|
|
}
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"public/iframe_api.js",
|
|
"packages/iframe-api-typings"
|
|
]
|
|
}
|