Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Fix two typescript errors #6

Merged
merged 2 commits into from
May 6, 2016
Merged

Fix two typescript errors #6

merged 2 commits into from
May 6, 2016

Conversation

matt4446
Copy link
Contributor

@matt4446 matt4446 commented Apr 8, 2016

Simple fix for the following two typescript errors:

node_modules/nativescript-pulltorefresh/pulltorefresh.d.ts(13,18): error TS2415: Class 'PullToRefresh' incorrectly extends base class 'ContentView'.
  Types of property 'on' are incompatible.
    Type '(event: "refresh", callback: (args: EventData) => void, thisArg?: any) => any' is not assignable to type '{ (eventNames: string | GestureTypes, callback: (data: EventData) => void, thisArg?: any): any; (...'.

node_modules/nativescript-pulltorefresh/pulltorefresh.d.ts(45,9): error TS2382: Specialized overload signature is not assignable to any non-specialized signature.

Matthew Green added 2 commits April 8, 2016 22:28
fix (hide) two typescript errors:

node_modules/nativescript-pulltorefresh/pulltorefresh.d.ts(13,18): error TS2415: Class 'PullToRefresh' incorrectly extends base class 'ContentView'.
  Types of property 'on' are incompatible.
    Type '(event: "refresh", callback: (args: EventData) => void, thisArg?: any) => any' is not assignable to type '{ (eventNames: string | GestureTypes, callback: (data: EventData) => void, thisArg?: any): any; (...'.
node_modules/nativescript-pulltorefresh/pulltorefresh.d.ts(45,9): error TS2382: Specialized overload signature is not assignable to any non-specialized signature.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants