From ac9aa7cf58c08a9683d89ca43e176dc83f213aba Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 27 Jun 2021 00:05:32 +0900 Subject: [PATCH] Update tsconfig.json --- tsconfig.json | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 3588538..e7fce74 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,28 +1,22 @@ { "compilerOptions": { - /* Basic Options */ - "target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ - "declaration": true, /* Generates corresponding '.d.ts' file. */ - "outDir": "./built/", /* Redirect output structure to the directory. */ - "rootDir": "./src/", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ - "removeComments": true, /* Do not emit comments to output. */ - - /* Strict Type-Checking Options */ - "strict": true, /* Enable all strict type-checking options. */ - "strictFunctionTypes": true, /* Enable strict checking of function types. */ - - /* Additional Checks */ - "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ - - /* Module Resolution Options */ - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "target": "es2020", + "module": "commonjs", + "declaration": true, + "outDir": "./built/", + "removeComments": true, + "strict": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "experimentalDecorators": true, + "noImplicitReturns": true, + "esModuleInterop": true, }, "include": [ "src/**/*", ], "exclude": [ - "node_modules", - "test/**/*", + "node_modules", + "test/**/*", ] }