Don't expose platform types in public d.ts files.

Use any. Add a comment with the real type.
This commit is contained in:
Hristo Deshev
2015-10-30 17:01:15 +02:00
parent c84227dc4d
commit 70041bd999
33 changed files with 141 additions and 147 deletions

View File

@@ -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 */;
}
}
}