Skip to content

Commit 84514cc

Browse files
committed
fix(type): fix $vfm.get() return type error
1 parent 8bb4a43 commit 84514cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface VueFinalModalProperty {
5656
readonly dynamicModals: DynamicModalData[]
5757
readonly openedModals: VueFinalModalComponant[]
5858
readonly modals: VueFinalModalComponant[],
59-
get(...names: string[]): VueFinalModalComponant | undefined
59+
get(...names: string[]): VueFinalModalComponant[]
6060

6161
show(name: string, params?: any): void
6262
show(modal: DynamicModalOptions, params?: any): void

0 commit comments

Comments
 (0)