From b37d4a5c7ee8d57960304fb9a639aa6b4251acc8 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Thu, 31 Oct 2024 21:17:25 +0700 Subject: [PATCH] fix: types issue (#internalTypeOnlyBrand) in the @types/node package (#3921) --- core/tsconfig.json | 4 ++-- extensions/assistant-extension/tsconfig.json | 2 +- extensions/inference-nitro-extension/tsconfig.json | 2 +- extensions/tensorrt-llm-extension/tsconfig.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/tsconfig.json b/core/tsconfig.json index 02caf65e2..b30d65851 100644 --- a/core/tsconfig.json +++ b/core/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "moduleResolution": "node", - "target": "es5", + "target": "ES2015", "module": "ES2020", "lib": ["es2015", "es2016", "es2017", "dom"], "strict": true, @@ -13,7 +13,7 @@ "declarationDir": "dist/types", "outDir": "dist/lib", "importHelpers": true, - "types": ["@types/jest"], + "types": ["@types/jest"] }, "include": ["src"], "exclude": ["**/*.test.ts"] diff --git a/extensions/assistant-extension/tsconfig.json b/extensions/assistant-extension/tsconfig.json index e425358c3..3838d1c42 100644 --- a/extensions/assistant-extension/tsconfig.json +++ b/extensions/assistant-extension/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "moduleResolution": "node", - "target": "es5", + "target": "ES2015", "module": "ES2020", "lib": ["es2015", "es2016", "es2017", "dom"], "strict": true, diff --git a/extensions/inference-nitro-extension/tsconfig.json b/extensions/inference-nitro-extension/tsconfig.json index 19d8572b5..bdb35163a 100644 --- a/extensions/inference-nitro-extension/tsconfig.json +++ b/extensions/inference-nitro-extension/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "moduleResolution": "node", - "target": "es5", + "target": "ES2015", "module": "ES2020", "lib": ["es2015", "es2016", "es2017", "dom"], "strict": true, diff --git a/extensions/tensorrt-llm-extension/tsconfig.json b/extensions/tensorrt-llm-extension/tsconfig.json index be07e716c..94465ebb6 100644 --- a/extensions/tensorrt-llm-extension/tsconfig.json +++ b/extensions/tensorrt-llm-extension/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "moduleResolution": "node", - "target": "es5", + "target": "ES2015", "module": "ES2020", "lib": ["es2015", "es2016", "es2017", "dom"], "strict": true,