Skip to content

Commit

Permalink
🏷️ Type _render() arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
clabe45 committed Jul 17, 2023
1 parent 96498d1 commit 8a6696f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/movie/movie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ export class Movie {
*
* @param timestamp The current high-resolution timestamp in milliseconds
*/
private _renderBackground (timestamp) {
private _renderBackground (timestamp: number) {
this.cctx.clearRect(0, 0, this.canvas.width, this.canvas.height)

// Evaluate background color (since it's a dynamic property)
Expand Down

0 comments on commit 8a6696f

Please sign in to comment.