diff --git a/src/navigation/nav-controller.ts b/src/navigation/nav-controller.ts index b7f60979c2..32f47547da 100644 --- a/src/navigation/nav-controller.ts +++ b/src/navigation/nav-controller.ts @@ -262,8 +262,8 @@ import { ViewController } from './view-controller'; * | `ionViewWillLeave` | void | Runs when the page is about to leave and no longer be the active page. | * | `ionViewDidLeave` | void | Runs when the page has finished leaving and is no longer the active page. | * | `ionViewWillUnload` | void | Runs when the page is about to be destroyed and have its elements removed. | - * | `ionViewCanEnter` | boolean \| Promise\ | Runs before the view can enter. This can be used as a sort of "guard" in authenticated views where you need to check permissions before the view can enter | - * | `ionViewCanLeave` | boolean \| Promise\ | Runs before the view can leave. This can be used as a sort of "guard" in authenticated views where you need to check permissions before the view can leave | + * | `ionViewCanEnter` | boolean | Promise\ | Runs before the view can enter. This can be used as a sort of "guard" in authenticated views where you need to check permissions before the view can enter | + * | `ionViewCanLeave` | boolean | Promise\ | Runs before the view can leave. This can be used as a sort of "guard" in authenticated views where you need to check permissions before the view can leave | * * * ## Nav Guards