From 87753431f8d300c4ef8faa96ebe9ca30e8a44910 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 9 Mar 2023 18:36:35 -0500 Subject: [PATCH] update tsconfig --- tsconfig.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9fe98cc..7a5628f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,8 +4,9 @@ "target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "lib": [ - "ES2019.Object", - "ES2020.Promise" + "ES2019.Object", + "ES2020.Promise", + "es2015.promise" ], /* Specify library files to be included in the compilation. */ // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ @@ -48,7 +49,7 @@ // "types": [], /* Type declaration files to be included in compilation. */ // "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'. */ - "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ + "preserveSymlinks": true /* Do not resolve the real path of symlinks. */ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */