8000 fix (tns): Expose registerElement for fixing a 'tns run' TS error · wenguang/nativescript-vue@2281a2c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2281a2c

Browse files
committed
fix (tns): Expose registerElement for fixing a 'tns run' TS error
1 parent e1bc562 commit 2281a2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface NativeScriptVue<V = View> extends Vue {
4545
export interface NativeScriptVueConstructor extends VueConstructor<NativeScriptVue> {
4646
navigateTo: navigateTo
4747
navigateBack: () => void
48+
registerElement: (elementName: string, resolver: Function, meta?: any) => void
4849
}
4950

5051
export const NativeScriptVue: NativeScriptVueConstructor

0 commit comments

Comments
 (0)
0