mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #315 from hdeshev/angular-types2
Better public type fix by not exposing the private 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;
|
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];
|
public static ObjCProtocols = [UINavigationControllerDelegate];
|
||||||
|
|
||||||
static new(): UINavigationControllerImpl {
|
static new(): UINavigationControllerImpl {
|
||||||
@ -240,7 +240,7 @@ export class UINavigationControllerImpl extends UINavigationController implement
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
export class iOSFrame implements definition.iOSFrame {
|
class iOSFrame implements definition.iOSFrame {
|
||||||
/* tslint:enable */
|
/* tslint:enable */
|
||||||
private _controller: UINavigationControllerImpl;
|
private _controller: UINavigationControllerImpl;
|
||||||
private _showNavigationBar: boolean;
|
private _showNavigationBar: boolean;
|
||||||
|
@ -153,12 +153,12 @@ export class SegmentedBar extends common.SegmentedBar {
|
|||||||
this._android.setup();
|
this._android.setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
get android(): OurTabHost {
|
get android(): android.widget.TabHost {
|
||||||
return this._android;
|
return this._android;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export class OurTabHost extends android.widget.TabHost {
|
class OurTabHost extends android.widget.TabHost {
|
||||||
constructor(context: any, attrs: any) {
|
constructor(context: any, attrs: any) {
|
||||||
super(context, attrs);
|
super(context, attrs);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user