From e54b3a0e8d23e33668caef60610fe70186d28e72 Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Thu, 3 Sep 2015 12:08:54 +0300 Subject: [PATCH] Fix compile errors. Export types used by public properties in tests/**/layout-helper.android.ts --- apps/tests/layouts/layout-helper.android.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/tests/layouts/layout-helper.android.ts b/apps/tests/layouts/layout-helper.android.ts index 4f1d79cb2..684d9af55 100644 --- a/apps/tests/layouts/layout-helper.android.ts +++ b/apps/tests/layouts/layout-helper.android.ts @@ -6,7 +6,7 @@ import def = require("./layout-helper"); var DELTA = 0.1; -class NativeButton extends android.widget.Button { +export class NativeButton extends android.widget.Button { private owner: MyButton; @@ -106,7 +106,7 @@ export class MyButton extends button.Button implements def.MyButton { } } -class NativeStackLayout extends org.nativescript.widgets.StackLayout { +export class NativeStackLayout extends org.nativescript.widgets.StackLayout { private owner: MyStackLayout; @@ -179,4 +179,4 @@ export function assertLayout(btn: MyButton, left: number, top: number, width: nu export function dip(value: number): number { var density = utils.layout.getDisplayDensity(); return Math.floor(value * density); -} \ No newline at end of file +}