types(Notify): add missing teleport type (#12985)

This commit is contained in:
inottn
2024-07-04 05:09:56 +08:00
committed by GitHub
parent d63bbf7212
commit 1a1a5c07c8

View File

@@ -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;