Browse Source

non null assert iframe since it is initialized in initMenuIframe which makes it safe to assert non null by lifecycle

PM-29515-lo-impact-remove-ts-strict-ignore-in-overlay-inline-menu-iframe-content-autofill-inline-menu-iframe-service-ts-5-err-482-loc-54-8
Daniel Riera 10 hours ago
parent
commit
4e0fd2606a
  1. 5
      apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.ts

5
apps/browser/src/autofill/overlay/inline-menu/iframe-content/autofill-inline-menu-iframe.service.ts

@ -16,7 +16,10 @@ export class AutofillInlineMenuIframeService implements AutofillInlineMenuIframe @@ -16,7 +16,10 @@ export class AutofillInlineMenuIframeService implements AutofillInlineMenuIframe
private portKey?: string;
private readonly extensionOrigin: string;
private iframeMutationObserver: MutationObserver;
private iframe: HTMLIFrameElement;
/**
* Initialized in initMenuIframe which makes it safe to assert non null by lifecycle.
*/
private iframe!: HTMLIFrameElement;
private ariaAlertElement?: HTMLDivElement;
private ariaAlertTimeout: number | NodeJS.Timeout | null = null;
private delayedCloseTimeout: number | NodeJS.Timeout | null = null;

Loading…
Cancel
Save