From bee1061e20755ef298149f7eb61465d44f83135f Mon Sep 17 00:00:00 2001 From: Kane Date: Thu, 23 Mar 2023 23:58:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/web/task_schedule/shims-vue.d.ts | 13 +++++++------ code/web/task_schedule/tsconfig.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/code/web/task_schedule/shims-vue.d.ts b/code/web/task_schedule/shims-vue.d.ts index 866e599..b4f89f6 100644 --- a/code/web/task_schedule/shims-vue.d.ts +++ b/code/web/task_schedule/shims-vue.d.ts @@ -3,12 +3,13 @@ * @Date: 2023-03-04 17:23:02 * @LastEditors: Kane * @FilePath: /task_schedule/shims-vue.d.ts - * @Description: - * - * Copyright (c) ${2022} by Kane, All Rights Reserved. + * @Description: + * + * Copyright (c) ${2022} by Kane, All Rights Reserved. */ -declare module '*.vue' { - import { ComponentOptions } from 'vue'; +declare module "*.vue" +{ + import { type ComponentOptions } from "vue"; const componentOptions: ComponentOptions; export default componentOptions; -} \ No newline at end of file +} diff --git a/code/web/task_schedule/tsconfig.json b/code/web/task_schedule/tsconfig.json index dd548da..50fc3d9 100644 --- a/code/web/task_schedule/tsconfig.json +++ b/code/web/task_schedule/tsconfig.json @@ -12,7 +12,7 @@ "forceConsistentCasingInFileNames": true, "useDefineForClassFields": true, "target": "ESNext", - "module": "CommonJS", + "module": "ESNext", "moduleResolution": "node", "strict": true, "jsx": "preserve",