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

16
ui/frame/frame.d.ts vendored
View File

@@ -176,7 +176,7 @@ declare module "ui/frame" {
/**
* Gets the Android-specific menu item that has been selected.
*/
item: android.view.IMenuItem;
item: any /* android.view.IMenuItem */;
/**
* True to mark the event as handled (that is to prevent the default processing).
@@ -193,28 +193,28 @@ declare module "ui/frame" {
/**
* Gets the native [android ViewGroup](http://developer.android.com/reference/android/view/ViewGroup.html) instance that represents the root layout part of the Frame.
*/
rootViewGroup: android.view.ViewGroup;
rootViewGroup: any /* android.view.ViewGroup */;
/**
* Gets the native [android Activity](http://developer.android.com/reference/android/app/Activity.html) instance associated with this Frame. In case of nested Frame objects, this property points to the activity of the root Frame.
*/
activity: android.app.Activity;
activity: any /* android.app.Activity */;
/**
* Gets the current (foreground) activity for the application. This property will recursively traverse all existing Frame objects and check for own Activity property.
*/
currentActivity: android.app.Activity;
currentActivity: any /* android.app.Activity */;
/**
* Gets the actionBar property of the currentActivity.
*/
actionBar: android.app.ActionBar;
actionBar: any /* android.app.ActionBar */;
/**
* A function called by the Runtime whenever a new Activity is about to be opened.
* @param intent The native [android Intent](http://developer.android.com/reference/android/content/Intent.html) object passed to the Activity's onCreate method.
*/
onActivityRequested(intent: android.content.Intent): Object;
onActivityRequested(intent: any /* android.content.Intent */): Object;
/**
* Determines whether the Activity associated with this Frame will display an action bar or not.
@@ -237,7 +237,7 @@ declare module "ui/frame" {
/**
* Gets the native [UINavigationController](https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UINavigationController_Class/index.html) instance associated with this Frame.
*/
controller: UINavigationController;
controller: any /* UINavigationController */;
/**
* Gets or sets the visibility of navigationBar.
@@ -245,4 +245,4 @@ declare module "ui/frame" {
*/
navBarVisibility: string;
}
}
}