From 30b3ee5c89c31cb5794faab40e800c36507d258a Mon Sep 17 00:00:00 2001 From: bowen <54492610+jiaowoxiaobala@users.noreply.github.com> Date: 星期二, 10 十月 2023 21:06:16 +0800 Subject: [PATCH] chore: fix type:check error (#3126) --- 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.8.0