Skip to content

Commit

Permalink
Bump typescript from 4.0.2 to 4.2.3 (#333)
Browse files Browse the repository at this point in the history
* Bump typescript from 4.0.2 to 4.2.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Update Types

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark <1446916+markcellus@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and markcellus committed Mar 13, 2021
1 parent 68784a5 commit 599b8f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/youtube-video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export class YoutubeVideoElement extends HTMLElement {
paused: boolean = true;
ytPlayerContainer: HTMLElement = undefined;

private resolveBuildPlayerPromise: () => void = null;
private resolveBuildPlayerPromise: (
value?: YT.Player | PromiseLike<YT.Player>
) => void = null;
private ytPlayerPromise: Promise<YT.Player> = null;
private scriptPath: string = 'https://www.youtube.com/iframe_api';
private mediaError: Error = undefined;
Expand Down Expand Up @@ -247,7 +249,6 @@ export class YoutubeVideoElement extends HTMLElement {
width: this.width,
};
this.ytPlayer = new YT.Player(
// @ts-ignore
this.ytPlayerContainer,
playerOptions
);
Expand Down

0 comments on commit 599b8f9

Please sign in to comment.