Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@schematics/angular): Add types annotations to e2e AppPage
This is a cherry-pick of dc2e40a Original PR: #13406 When app.po.ts is compiled under Bazel with Typescript 3.2, AppPage produces the following error: e2e/src/app.po.ts:4:3 - error TS2742: The inferred type of 'navigateTo' cannot be named without a reference to '../../external/npm/node_modules/@types/selenium-webdriver/index'. This is likely not portable. A type annotation is necessary. 4 navigateTo() { ~~~~~~~~~~ e2e/src/app.po.ts:8:3 - error TS2742: The inferred type of 'getTitleText' cannot be named without a reference to '../../external/npm/node_modules/@types/selenium-webdriver/index'. This is likely not portable. A type annotation is necessary. 8 getTitleText() { ~~~~~~~~~~~~
- Loading branch information