Skip to content

Commit 9db32b3

Browse files
committed
Update tsconfig to target Node.js 16
1 parent 8d5b3ff commit 9db32b3

File tree

4 files changed

+154
-285
lines changed

4 files changed

+154
-285
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@
5555
"es6": true,
5656
"jest/globals": true
5757
}
58-
}
58+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"aws-sdk": "^2.1246.0"
2020
},
2121
"devDependencies": {
22+
"@tsconfig/node16": "^1.0.3",
2223
"@types/jest": "^29.2.1",
2324
"@types/node": "^16.18.3",
2425
"@typescript-eslint/parser": "^2.8.0",

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2+
"extends": "@tsconfig/node16/tsconfig.json",
23
"compilerOptions": {
3-
"target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
4-
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
54
"outDir": "./lib", /* Redirect output structure to the directory. */
65
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
76
"strict": true, /* Enable all strict type-checking options. */

0 commit comments

Comments
 (0)