Closed moifort closed 3 years ago
Thanks for your lib!
Correct me if I am wrong but I think your type file types/index.d.ts is not up to date. Typescript don't find showAndWait method.
types/index.d.ts
showAndWait
ERROR ERROR in components/client/ClaimForm.vue:368:28 09:03:22 TS2339: Property 'showAndWait' does not exist on type 'VuetifyDialog'. 366 | debugger 367 | // tslint:disable-next-line > 368 | await this.$dialog.showAndWait(SuccessDialog, { claimId: result }) | ^^^^^^^^^^^ 369 | } catch (error) {
"vuetify-dialog": "2.0.10"
Add // @ts-ignore
// @ts-ignore
fixed in 2.0.11 by https://github.com/yariksav/vuetify-dialog/commit/f75fe2ae1b98e795bba607551c9c49d08ad11be6
Thanks for your lib!
Error
Correct me if I am wrong but I think your type file
types/index.d.ts
is not up to date. Typescript don't findshowAndWait
method.Version
"vuetify-dialog": "2.0.10"
Workarround
Add
// @ts-ignore