Skip to content

Commit a98284a

Browse files
committed
fix(test): class 'Page5' incorrectly extends base class
1 parent 9506a78 commit a98284a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/nav/test/worst-case/app-module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ export class Base {
3131
ionViewWillUnload() {
3232
log(`${this._name} willUnload`);
3333
}
34-
ionViewCanLeave() {
34+
ionViewCanLeave(): boolean|Promise<any> {
3535
log(`${this._name} canLeave`);
3636
return true;
3737
}
38-
ionViewCanEnter() {
38+
ionViewCanEnter(): boolean|Promise<any> {
3939
log(`${this._name} canEnter`);
4040
return true;
4141
}

0 commit comments

Comments
 (0)