mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Better public type fix by not exposing the private types.
Change the property types to the base public types.
This commit is contained in:
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user