fix(navigation): ts2.4 compatibility Closes #12233. Closes #12235
fix(navigation): ts2.4 compatibility
Closes #12233. Closes #12235

alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic,alan-agius4/ionic