mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
chore: improve withInstall typing (#9354)
* chore: improve withInstall typing * chore: upd * fix: missing entry
This commit is contained in:
@@ -186,7 +186,7 @@ Toast.allowMultiple = (value = true) => {
|
||||
};
|
||||
|
||||
Toast.install = (app: App) => {
|
||||
app.use(withInstall<typeof VanToast>(VanToast));
|
||||
app.use(withInstall(VanToast));
|
||||
app.config.globalProperties.$toast = Toast;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user