Better public type fix by not exposing the private types.

Change the property types to the base public types.
This commit is contained in:
Hristo Deshev
2015-06-11 17:10:53 +03:00
parent 1374054b16
commit bc2a34d4f6
2 changed files with 5 additions and 5 deletions

View File

@ -95,7 +95,7 @@ export class Frame extends frameCommon.Frame {
}
}
public get ios(): iOSFrame {
public get ios(): definition.iOSFrame {
return this._ios;
}
@ -151,7 +151,7 @@ export class Frame extends frameCommon.Frame {
}
}
export class UINavigationControllerImpl extends UINavigationController implements UINavigationControllerDelegate {
class UINavigationControllerImpl extends UINavigationController implements UINavigationControllerDelegate {
public static ObjCProtocols = [UINavigationControllerDelegate];
static new(): UINavigationControllerImpl {
@ -240,7 +240,7 @@ export class UINavigationControllerImpl extends UINavigationController implement
}
/* tslint:disable */
export class iOSFrame implements definition.iOSFrame {
class iOSFrame implements definition.iOSFrame {
/* tslint:enable */
private _controller: UINavigationControllerImpl;
private _showNavigationBar: boolean;

View File

@ -153,12 +153,12 @@ export class SegmentedBar extends common.SegmentedBar {
this._android.setup();
}
get android(): OurTabHost {
get android(): android.widget.TabHost {
return this._android;
}
}
export class OurTabHost extends android.widget.TabHost {
class OurTabHost extends android.widget.TabHost {
constructor(context: any, attrs: any) {
super(context, attrs);