From 4b1f397201c615e356f134cef98beef3eef5c382 Mon Sep 17 00:00:00 2001 From: vakrilov Date: Tue, 30 Aug 2016 13:22:30 +0300 Subject: [PATCH] canGoBackToPreviousPage method fixed --- nativescript-angular/router/router-extensions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nativescript-angular/router/router-extensions.ts b/nativescript-angular/router/router-extensions.ts index 5a5244e17..836dee907 100644 --- a/nativescript-angular/router/router-extensions.ts +++ b/nativescript-angular/router/router-extensions.ts @@ -33,7 +33,7 @@ export class RouterExtensions { this.frame.goBack(); } - public canGoBackToPreviousPage() { - this.frame.canGoBack(); + public canGoBackToPreviousPage(): boolean { + return this.frame.canGoBack(); } } \ No newline at end of file