chore: fix type:check error (#3126)

* chore: Fix ts type error

* chore: fix type:check error
This commit is contained in:
bowen
2023-10-10 21:06:16 +08:00
committed by GitHub
parent b43d3069e1
commit 30b3ee5c89
13 changed files with 48 additions and 34 deletions

2
types/index.d.ts vendored
View File

@@ -14,7 +14,7 @@ declare type LabelValueOptions = {
[key: string]: string | number | boolean;
}[];
declare type EmitType = (event: string, ...args: any[]) => void;
declare type EmitType = ReturnType<typeof defineEmits>;
declare type TargetContext = '_self' | '_blank';