Skip to content

Commit 1da0509

Browse files
author
farfromrefug
committed
chore: tsc fix
1 parent 4d4e5b7 commit 1da0509

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bottomsheet/vue/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { NativeScriptVue } from 'nativescript-vue';
2-
import Vue from 'vue';
32
import { BottomSheetOptions } from '../bottomsheet';
43
import { View } from '@nativescript/core';
54

@@ -9,8 +8,8 @@ export interface VueBottomSheetOptions extends Omit<BottomSheetOptions, 'view'>
98
}
109

1110
declare module 'nativescript-vue' {
12-
interface NativeScriptVue<V = View> extends Vue {
13-
$showBottomSheet(component: typeof Vue, options?: VueBottomSheetOptions): Promise<any>;
11+
interface NativeScriptVue<V = View> extends NativeScriptVue {
12+
$showBottomSheet(component: typeof NativeScriptVue, options?: VueBottomSheetOptions): Promise<any>;
1413
$closeBottomSheet(...args);
1514
}
1615
}

0 commit comments

Comments
 (0)