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

Commit 85f02fe

Browse files
committed
fix defs
1 parent d26b382 commit 85f02fe

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

index.d.ts

+2-10
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
* Contains the PullToRefresh class, which represents a Layout that contains the UI pattern for pull-to-refresh
33
*/
44

5-
import common = require("./pulltorefresh-common");
6-
export declare class PullToRefresh extends common.PullToRefresh {
5+
export declare class PullToRefresh {
76

87
/**
98
* String value used when hooking to the onRefresh event.
@@ -23,17 +22,10 @@ export declare class PullToRefresh extends common.PullToRefresh {
2322
/**
2423
* Returns the native iOS UIRefreshControl
2524
*/
26-
refreshControl: UIRefreshControl
25+
refreshControl: any /// UIRefreshControl
2726

2827
/*
2928
* Gets or sets if the view is refreshing
3029
*/
3130
refreshing: boolean;
32-
33-
/**
34-
* Raised when a refresh event occurs.
35-
*/
36-
on(event: string, callback: (args: observable.EventData) => void, thisArg?: any);
37-
on(event: "refresh", callback: (args: observable.EventData) => void, thisArg?: any);
38-
3931
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-pulltorefresh",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "A NativeScript plugin to provide the Pull to Refresh control on any view.",
55
"main": "pulltorefresh.js",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)