8000 fix: type of $modal.close · Yellowbox-AU/nativescript-vue@042ccca · GitHub
[go: up one dir, main page]

Skip to content

Commit 042ccca

Browse files
committed
fix: type of $modal.close
1 parent c7e5d71 commit 042ccca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface NativeScriptVue<V = View> extends Vue {
4646
$navigateTo: navigateTo
4747
$navigateBack: navigateBack
4848

49-
$modal?: { close: (data?: any) => Promise<typeof data> };
49+
$modal?: { close: (data?: any) => void };
5050

5151
$showModal: (component: import('vue').ComponentOptions<Vue> | string, options?: ModalOptions) => Promise<any>;
5252

0 commit comments

Comments
 (0)
0