ThomasLeconte / vuetify3-dialog

Vue 3 & Vuetify 3 plugin to create dialogs (confirm, warn, error), toasts or bottom-sheets with Promises anwsers.
https://www.npmjs.com/package/vuetify3-dialog
MIT License
26 stars 9 forks source link

Improve typings and fix snackbar close callback #23

Closed ramseyfeng closed 4 months ago

ramseyfeng commented 4 months ago

fix: adding types/node for the package.json to fix the npm install fix: inform the TypeScript compiler about the existence of the global fix: fix types of the level & fix onCloseSnackbar callback of SnackBar component

ramseyfeng commented 4 months ago

@ThomasLeconte Hi Thomas, you are right! I have reverted the callback, it should not be necessary. BTW, I also revert the change for location, it seems I cannot fix it well, and vuetify seems not export the type of Anchor.