Skip to content

Commit 5fccb46

Browse files
gkalpakAndrewKushnir
authored andcommitted
build(docs-infra): update project structure to cli@9 1/12 (app.po.ts) (angular#36015)
Update `app.po.ts`. PR Close angular#36015
1 parent 5a7ac8c commit 5fccb46

File tree

1 file changed

+3
-3
lines changed
  • aio/tools/examples/shared/boilerplate/cli/e2e/src

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { browser, by, element } from 'protractor';
22

33
export class AppPage {
4-
navigateTo() {
5-
return browser.get(browser.baseUrl) as Promise<any>;
4+
navigateTo(): Promise<unknown> {
5+
return browser.get(browser.baseUrl) as Promise<unknown>;
66
}
77

8-
getTitleText() {
8+
getTitleText(): Promise<string> {
99
return element(by.css('app-root h1')).getText() as Promise<string>;
1010
}
1111
}

0 commit comments

Comments
 (0)