Skip to content

Commit 4d35237

Browse files
authored
Merge pull request #49 from Roxas92/patch-3
Add params parameter to show() and toggle()
2 parents f5e48a6 + 5e6ccbc commit 4d35237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ export type VueFinalModalProperty = {
3838
openedModals: VueFinalModalInfo[]
3939
modals: VueFinalModalInfo[]
4040
get(name: string): VueFinalModalInfo | undefined
41-
show(name: string): void
41+
show(name: string, params?: any): void
4242
hide(name: string): void
4343
hideAll(): void
44-
toggle(name: string, show: boolean): void
44+
toggle(name: string, show: boolean, params?: any): void
4545
}
4646

4747
declare module '@vue/runtime-core' {

0 commit comments

Comments
 (0)