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

@@ -22,12 +22,12 @@ declare module "ui/progress" {
/**
* Gets the native [android widget](http://developer.android.com/reference/android/widget/ProgressBar.html) that represents the user interface for this component. Valid only when running on Android OS.
*/
android: android.widget.ProgressBar;
android: any /* android.widget.ProgressBar */;
/**
* Gets the native iOS [UIProgressView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIProgressView_Class/) that represents the user interface for this component. Valid only when running on iOS.
*/
ios: UIProgressView;
ios: any /* UIProgressView */;
/**
* Gets or sets a progress current value.
@@ -39,4 +39,4 @@ declare module "ui/progress" {
*/
maxValue: number;
}
}
}