Added return types

This commit is contained in:
Sercan Yemen 2018-08-28 08:07:28 +03:00
parent 0b2af161f4
commit a5b6e545a7

View File

@ -1,11 +1,11 @@
import { browser, by, element } from 'protractor'; import { browser, by, element } from 'protractor';
export class Fuse2Page { export class Fuse2Page {
navigateTo() { navigateTo(): any {
return browser.get('/'); return browser.get('/');
} }
getParagraphText() { getParagraphText(): any {
return element(by.css('app-root h1')).getText(); return element(by.css('app-root h1')).getText();
} }
} }