Skip to content

Commit

Permalink
Add canvas property to CanvasRenderingContext2D type
Browse files Browse the repository at this point in the history
  • Loading branch information
Suyooo authored and zbjornson committed Dec 26, 2022
1 parent fc160f5 commit 9f313df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
### Changed
### Added
### Fixed
* Add missing property `canvas` to the `CanvasRenderingContext2D` type

2.11.0
==================
Expand Down
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ export class CanvasRenderingContext2D {
font: string;
textBaseline: CanvasTextBaseline;
textAlign: CanvasTextAlign;
canvas: Canvas;
}

export class CanvasGradient {
Expand Down

0 comments on commit 9f313df

Please sign in to comment.