From 29ef04e42594421520ec315d65b6dd4988061aaf Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Thu, 2 Dec 2021 21:14:19 +0800 Subject: [PATCH] chore: add types --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 8617c8a..5aec2fe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,8 @@ "sourceMap": true, "resolveJsonModule": true, "esModuleInterop": true, - "lib": ["esnext", "dom"] + "lib": ["esnext", "dom"], + "types": ["@dcloudio/types"] }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] }