update tsconfigs

feat/vaults
Tomáš Mládek 2021-12-18 14:09:38 +01:00
parent ffedb89e03
commit fed5c72f55
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@
/* Language and Environment */
"target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"lib": ["es2017"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"lib": ["es2019"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
// "jsx": "preserve", /* Specify what JSX code is generated. */
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
@ -51,7 +51,7 @@
// "removeComments": true, /* Disable emitting comments. */
// "noEmit": true, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types */
"importsNotUsedAsValues": "error", /* Specify emit/checking behavior for imports that are only used for types */
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */

View File

@ -1,6 +1,7 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src/**/*", "node_modules/upend/*"],
"exclude": ["**/test.ts"],
"compilerOptions": {
"lib": ["es2019"]
}