You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import { ToastifyContainer, type ToastFunc } from 'vue3-toastify';
- import type { Plugin } from 'vue';
-
- declare const Vue3Toastify: Plugin;
- export default Vue3Toastify;
-
- declare global {
- interface Window {
- // toast for CDN compatibility
- Vue3Toastify?: typeof Vue3Toastify;
- }
- }
-
- declare module 'vue' {
- export interface ComponentCustomProperties {$toast: ToastFunc}
-
- export interface GlobalComponents {ToastifyContainer: typeof ToastifyContainer}
- }
|