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:
6
ui/html-view/html-view.d.ts
vendored
6
ui/html-view/html-view.d.ts
vendored
@@ -22,12 +22,12 @@ declare module "ui/html-view" {
|
||||
/**
|
||||
* Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS.
|
||||
*/
|
||||
android: android.widget.TextView;
|
||||
android: any /* android.widget.TextView */;
|
||||
|
||||
/**
|
||||
* Gets the native [UILabel](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UILabel_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
||||
*/
|
||||
ios: UILabel;
|
||||
ios: any /* UILabel */;
|
||||
|
||||
/**
|
||||
* Gets or sets html string for the HtmlView.
|
||||
@@ -44,4 +44,4 @@ declare module "ui/html-view" {
|
||||
*/
|
||||
html?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user