mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Don't expose platform types in public d.ts files.
Use any. Add a comment with the real type.
This commit is contained in:
10
location/location.d.ts
vendored
10
location/location.d.ts
vendored
@@ -57,12 +57,12 @@ declare module "location" {
|
||||
/**
|
||||
* The android-specific [location](http://developer.android.com/reference/android/location/Location.html) object.
|
||||
*/
|
||||
android: android.location.Location;
|
||||
android: any /* android.location.Location */;
|
||||
|
||||
/**
|
||||
* The ios-specific [CLLocation](https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocation_Class/) object.
|
||||
*/
|
||||
ios: CLLocation;
|
||||
ios: any /* CLLocation */;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -162,7 +162,7 @@ declare module "location" {
|
||||
/**
|
||||
* The android-specific location manager [LocationManager](http://developer.android.com/reference/android/location/LocationManager.html)
|
||||
*/
|
||||
manager: android.location.LocationManager;
|
||||
manager: any /* android.location.LocationManager */;
|
||||
|
||||
/**
|
||||
* The minimum time interval between subsequent location updates, in milliseconds.
|
||||
@@ -186,6 +186,6 @@ declare module "location" {
|
||||
/**
|
||||
* The ios-specific location manager [CLLocationManager](https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/)
|
||||
*/
|
||||
manager: CLLocationManager;
|
||||
manager: any /* CLLocationManager */;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user