Skip to content

Commit

Permalink
[documentation] fix return type for getContext2d()
Browse files Browse the repository at this point in the history
  • Loading branch information
obiot committed Nov 18, 2021
1 parent cbbc24f commit e0ae564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class Renderer {
* @function
* @param {HTMLCanvasElement} canvas
* @param {Boolean} [transparent=true] use false to disable transparency
* @return {Context2d}
* @return {CanvasRenderingContext2D}
*/
getContext2d(c, transparent) {
if (typeof c === "undefined" || c === null) {
Expand Down

0 comments on commit e0ae564

Please sign in to comment.