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

@@ -20,12 +20,12 @@ declare module "image-source" {
/**
* The iOS-specific [UIImage](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImage_Class/) instance. Will be undefined when running on Android.
*/
ios: UIImage;
ios: any /* UIImage */;
/**
* The Android-specific [image](http://developer.android.com/reference/android/graphics/Bitmap.html) instance. Will be undefined when running on iOS.
*/
android: android.graphics.Bitmap;
android: any /* android.graphics.Bitmap */;
/**
* Loads this instance from the specified resource name.
@@ -122,4 +122,4 @@ declare module "image-source" {
* @param path The path.
*/
export function isFileOrResourcePath(path: string): boolean
}
}