refactor: remove extra typescript dependency (#28220)

This commit is contained in:
Liam DeBeasi
2023-09-26 09:01:53 -04:00
committed by GitHub
parent 0b7f6cf573
commit d0d9e35c37
10 changed files with 320 additions and 237 deletions

View File

@ -901,6 +901,7 @@ export class Nav implements NavOutlet {
: undefined;
const mode = getIonMode(this);
const enteringEl = enteringView.element!;
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
const leavingEl = leavingView && leavingView.element!;
const animationOpts: TransitionOptions = {
mode,