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