Skip to content

Commit

Permalink
fix(common): fix generic type of _isClosedPromise (#6579)
Browse files Browse the repository at this point in the history
  • Loading branch information
ExE-Boss committed Nov 4, 2020
1 parent 67da1cf commit 122f074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/Target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class Target {
/**
* @internal
*/
_isClosedPromise: Promise<boolean>;
_isClosedPromise: Promise<void>;
/**
* @internal
*/
Expand Down Expand Up @@ -91,7 +91,7 @@ export class Target {
openerPage.emit(PageEmittedEvents.Popup, popupPage);
return true;
});
this._isClosedPromise = new Promise<boolean>(
this._isClosedPromise = new Promise<void>(
(fulfill) => (this._closedCallback = fulfill)
);
this._isInitialized =
Expand Down

0 comments on commit 122f074

Please sign in to comment.