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';
|
||||
|
||||
export type NotifyMessage = Numeric;
|
||||
@@ -16,6 +17,7 @@ export type NotifyOptions = {
|
||||
className?: unknown;
|
||||
background?: string;
|
||||
lockScroll?: boolean;
|
||||
teleport?: TeleportProps['to'];
|
||||
onClick?: (event: MouseEvent) => void;
|
||||
onClose?: () => void;
|
||||
onOpened?: () => void;
|
||||
|
||||
Reference in New Issue
Block a user