diff --git a/tsconfig.json b/tsconfig.json index 240f7d6..4184191 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { + // https://www.npmjs.com/package/@tsconfig/node16 "compilerOptions": { - "target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ + "target": "es2021", /* 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'. */ "outDir": "./dist", /* Redirect output structure to the directory. */ "removeComments": true, /* Do not emit comments to output. */