Skip to content

Commit

Permalink
feat(types): export ListView ItemEventData with item
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed Feb 28, 2020
1 parent aea8d3f commit 3ba4941
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// import vue.js typings
// import Vue from 'vue';
import { Vue, VueConstructor } from 'vue/types/vue'
import { Page, NavigationEntry } from 'tns-core-modules/ui/frame/frame'
import { ItemEventData } from 'tns-core-modules/ui/list-view'
import { View } from 'tns-core-modules/ui/core/view'
import { Vue, VueConstructor } from 'vue/types/vue'

// ListView ItemEventData with the addition of the item property
export type NativeScriptVueItemEventData<T> = ItemEventData & { item: T }

export interface NavigationEntryVue extends NavigationEntry {
props?: Record<string, any>,
Expand Down

0 comments on commit 3ba4941

Please sign in to comment.