Skip to content

Commit

Permalink
types(Notify): add missing teleport type (#12985)
Browse files Browse the repository at this point in the history
  • Loading branch information
inottn committed Jul 3, 2024
1 parent d63bbf7 commit 1a1a5c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vant/src/notify/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { TeleportProps } from 'vue';
import type { Numeric } from '../utils';

export type NotifyMessage = Numeric;
Expand All @@ -16,6 +17,7 @@ export type NotifyOptions = {
className?: unknown;
background?: string;
lockScroll?: boolean;
teleport?: TeleportProps['to'];
onClick?: (event: MouseEvent) => void;
onClose?: () => void;
onOpened?: () => void;
Expand Down

0 comments on commit 1a1a5c0

Please sign in to comment.