From 122f074f92f47a7b9aa08091851e51a07632d23b Mon Sep 17 00:00:00 2001 From: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Date: Wed, 4 Nov 2020 07:42:23 +0100 Subject: [PATCH] =?UTF-8?q?fix(common):=20fix=C2=A0generic=C2=A0type=20of?= =?UTF-8?q?=C2=A0`=5FisClosedPromise`=20(#6579)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/Target.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/Target.ts b/src/common/Target.ts index e50dc8abd8d..0e8296a633a 100644 --- a/src/common/Target.ts +++ b/src/common/Target.ts @@ -44,7 +44,7 @@ export class Target { /** * @internal */ - _isClosedPromise: Promise; + _isClosedPromise: Promise; /** * @internal */ @@ -91,7 +91,7 @@ export class Target { openerPage.emit(PageEmittedEvents.Popup, popupPage); return true; }); - this._isClosedPromise = new Promise( + this._isClosedPromise = new Promise( (fulfill) => (this._closedCallback = fulfill) ); this._isInitialized =