From 679b07e996e45096c46e0f90a376758e2adab29e Mon Sep 17 00:00:00 2001 From: taorui Date: Mon, 13 May 2024 10:02:08 +0800 Subject: [PATCH] Update tsconfig.json to fix ts error --- frontend/tsconfig.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 66b5e570..bd9c9795 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -7,5 +7,12 @@ { "path": "./tsconfig.app.json" } - ] + ], + "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], + "compilerOptions": { + "baseUrl": "./src", + "paths": { + "@/*": ["*"] + } + }, } -- Gitee