types(Notify): add missing teleport type (#12985)
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import type { TeleportProps } from 'vue';
|
||||||
import type { Numeric } from '../utils';
|
import type { Numeric } from '../utils';
|
||||||
|
|
||||||
export type NotifyMessage = Numeric;
|
export type NotifyMessage = Numeric;
|
||||||
@@ -16,6 +17,7 @@ export type NotifyOptions = {
|
|||||||
className?: unknown;
|
className?: unknown;
|
||||||
background?: string;
|
background?: string;
|
||||||
lockScroll?: boolean;
|
lockScroll?: boolean;
|
||||||
|
teleport?: TeleportProps['to'];
|
||||||
onClick?: (event: MouseEvent) => void;
|
onClick?: (event: MouseEvent) => void;
|
||||||
onClose?: () => void;
|
onClose?: () => void;
|
||||||
onOpened?: () => void;
|
onOpened?: () => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user