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

@ -294,6 +294,7 @@ export const iosTransitionAnimation = (navEl: HTMLElement, opts: TransitionOptio
.fill('both')
.beforeRemoveClass('ion-page-invisible');
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
if (leavingEl && navEl !== null && navEl !== undefined) {
const navDecorAnimation = createAnimation();
navDecorAnimation.addElement(navEl);