mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
types: fix ComponentCustomProperties
This commit is contained in:
4
types/toast.d.ts
vendored
4
types/toast.d.ts
vendored
@@ -50,8 +50,8 @@ export interface Toast {
|
||||
allowMultiple(allow: boolean): void;
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
$toast: Toast;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user