chore: improve withInstall typing (#9354)

* chore: improve withInstall typing

* chore: upd

* fix: missing entry
This commit is contained in:
neverland
2021-08-30 20:10:14 +08:00
committed by GitHub
parent 4cf5a6ba0d
commit 140fa0c180
86 changed files with 92 additions and 254 deletions

View File

@@ -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;
};