From a5b6e545a7c08963b32125bd25b1159f19f962b9 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Tue, 28 Aug 2018 08:07:28 +0300 Subject: [PATCH] Added return types --- e2e/src/app.po.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/src/app.po.ts b/e2e/src/app.po.ts index 8327f3c3..99860d83 100644 --- a/e2e/src/app.po.ts +++ b/e2e/src/app.po.ts @@ -1,11 +1,11 @@ import { browser, by, element } from 'protractor'; export class Fuse2Page { - navigateTo() { + navigateTo(): any { return browser.get('/'); } - getParagraphText() { + getParagraphText(): any { return element(by.css('app-root h1')).getText(); } }