From 126d430ef34917d5d5a3223d51943b3a14017a56 Mon Sep 17 00:00:00 2001 From: Nex Zhu <4370605+NexZhu@users.noreply.github.com> Date: Tue, 28 Dec 2021 17:06:43 +0800 Subject: [PATCH] fix: add 'node' and 'jest' to types in tsconfig.json --- .eslintrc.js | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 0661224..74ea6d3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,6 +1,6 @@ module.exports = { root: true, - extends: ['@daotl/eslint-config-vue/typescript'], + extends: '@daotl/eslint-config-vue/typescript', parserOptions: { project: 'tsconfig.json', }, diff --git a/tsconfig.json b/tsconfig.json index b156b19..4e1ada0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "~/*": ["src/*"], "@@/*": ["src/.fes/*"] }, - "types": ["element-plus/global", "unplugin-icons/types/vue"] + "types": ["node", "jest", "element-plus/global", "unplugin-icons/types/vue"] }, "include": [ "src/**/*",