Skip to content

Commit d549319

Browse files
committed
feat(type): add dynamicModals array type
1 parent bc6a415 commit d549319

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

types/index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ export interface DynamicModalOptions {
4646
}
4747
}
4848

49+
interface DynamicModalData extends DynamicModalOptions {
50+
value: boolean
51+
id: symbol
52+
params: any
53+
}
54+
4955
export interface VueFinalModalProperty {
56+
readonly dynamicModals: DynamicModalData[]
5057
readonly openedModals: VueFinalModalComponant[]
5158
readonly modals: VueFinalModalComponant[],
5259
get(...names: string[]): VueFinalModalComponant | undefined

0 commit comments

Comments
 (0)