From b34a281d3206e6e80c00030201d7e0db4e36bbe0 Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Thu, 11 Jun 2015 15:33:54 +0300 Subject: [PATCH] Fix compile errors for methods returning private types. --- ui/frame/frame.ios.ts | 4 ++-- ui/segmented-bar/segmented-bar.android.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/frame/frame.ios.ts b/ui/frame/frame.ios.ts index ed2fcc386..ee30705ca 100644 --- a/ui/frame/frame.ios.ts +++ b/ui/frame/frame.ios.ts @@ -151,7 +151,7 @@ export class Frame extends frameCommon.Frame { } } -class UINavigationControllerImpl extends UINavigationController implements UINavigationControllerDelegate { +export class UINavigationControllerImpl extends UINavigationController implements UINavigationControllerDelegate { public static ObjCProtocols = [UINavigationControllerDelegate]; static new(): UINavigationControllerImpl { @@ -240,7 +240,7 @@ class UINavigationControllerImpl extends UINavigationController implements UINav } /* tslint:disable */ -class iOSFrame implements definition.iOSFrame { +export class iOSFrame implements definition.iOSFrame { /* tslint:enable */ private _controller: UINavigationControllerImpl; private _showNavigationBar: boolean; diff --git a/ui/segmented-bar/segmented-bar.android.ts b/ui/segmented-bar/segmented-bar.android.ts index bb4ac9fc5..71b648c7e 100644 --- a/ui/segmented-bar/segmented-bar.android.ts +++ b/ui/segmented-bar/segmented-bar.android.ts @@ -158,7 +158,7 @@ export class SegmentedBar extends common.SegmentedBar { } } -class OurTabHost extends android.widget.TabHost { +export class OurTabHost extends android.widget.TabHost { constructor(context: any, attrs: any) { super(context, attrs); @@ -168,4 +168,4 @@ class OurTabHost extends android.widget.TabHost { protected onAttachedToWindow(): void { // overriden to remove the code that will steal the focus from edit fields. } -} \ No newline at end of file +}