From 2c8533045546447430f7262be42a1393b6b969f4 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Tue, 17 Oct 2023 01:34:33 +0800 Subject: [PATCH] fix: omit the extension and import file ts error (#352) --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index eecfbb93..df3ac89a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,8 @@ "include": ["index.ts", "utils/**/*"], "compilerOptions": { "strict": false, - "resolveJsonModule": true + "resolveJsonModule": true, + "moduleResolution": "Bundler", + "module": "ESNext" } } -- 2.39.5