mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(test): class 'Page5' incorrectly extends base class
This commit is contained in:
@@ -31,11 +31,11 @@ export class Base {
|
||||
ionViewWillUnload() {
|
||||
log(`${this._name} willUnload`);
|
||||
}
|
||||
ionViewCanLeave() {
|
||||
ionViewCanLeave(): boolean|Promise<any> {
|
||||
log(`${this._name} canLeave`);
|
||||
return true;
|
||||
}
|
||||
ionViewCanEnter() {
|
||||
ionViewCanEnter(): boolean|Promise<any> {
|
||||
log(`${this._name} canEnter`);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user