8000 Fix/update type definitions (#409) · tylerflint/nativescript-vue@589c4e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 589c4e9

Browse files
acidbiscuitrigor789
authored andcommitted
Fix/update type definitions (nativescript-vue#409)
* fix: update type definitions for NavigationEntry * chore: remove unused type definition Size
1 parent cfbf83d commit 589c4e9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

index.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
// import vue.js typings
22
// import Vue from 'vue';
33
import { Vue, VueConstructor } from 'vue/types/vue'
4-
import { Page, NavigationEntry, Size } from 'tns-core-modules/ui/frame/frame'
4+
import { Page, NavigationEntry } from 'tns-core-m 7F95 odules/ui/frame/frame'
55
import { View } from 'tns-core-modules/ui/core/view'
66

7+
export interface NavigationEntryVue extends NavigationEntry {
8+
props?: Record<string, any>
9+
}
10+
711
export type navigateTo = (
812
component: VueConstructor,
9-
options?: NavigationEntry,
13+
options?: NavigationEntryVue,
1014
cb?: () => Page,
1115
) => Promise<Page>;
1216

0 commit comments

Comments
 (0)
0