From d9e0d8f77f29c00b14925f8398bc526682c9dd38 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 23 七月 2024 16:56:48 +0800
Subject: [PATCH] 增加系统配置项VITE_GLOB_SYS_TYPE, WMS/MES

---
 types/index.d.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/types/index.d.ts b/types/index.d.ts
index b279c0a..7f67f33 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -14,7 +14,7 @@
   [key: string]: string | number | boolean;
 }[];
 
-declare type EmitType = (event: string, ...args: any[]) => void;
+declare type EmitType = ReturnType<typeof defineEmits>;
 
 declare type TargetContext = '_self' | '_blank';
 

--
Gitblit v1.9.3