From edc191fb4b34aba77657365c7273f615a98381de Mon Sep 17 00:00:00 2001 From: Marko Kajzer Date: Mon, 9 Sep 2024 21:50:29 +0200 Subject: [PATCH] build(ts): use modern options --- tsconfig.json | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9f56271..b7c6896 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,22 +3,21 @@ "module": "commonjs", "esModuleInterop": true, "resolveJsonModule": true, - "target": "es6", - "strict": true, + "target": "ES2022", "outDir": "dist", - "lib": [ - "es2017" - ], - "typeRoots": [ - "node_modules/@types", - "src/types" - ], + "incremental": true, "baseUrl": ".", "paths": { "~/*": ["./src/*"] }, - "incremental": true + + "typeRoots": [ + "node_modules/@types", + "src/types" + ], + + "strict": true }, "include": [ "src/**/*",