build(docs-infra): update project structure to cli@9 1/12 (`app.po.ts`) (#36015)

Update `app.po.ts`.

PR Close #36015
This commit is contained in:
George Kalpakas 2020-03-17 22:28:37 +02:00 committed by Andrew Kushnir
parent 5a7ac8c3b9
commit 5fccb46f6f
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get(browser.baseUrl) as Promise<any>;
navigateTo(): Promise<unknown> {
return browser.get(browser.baseUrl) as Promise<unknown>;
}
getTitleText() {
getTitleText(): Promise<string> {
return element(by.css('app-root h1')).getText() as Promise<string>;
}
}