Skip to content

Commit

Permalink
fix the wrong type of setTransform (#2322)
Browse files Browse the repository at this point in the history
* fix the wrong type of setTransform

* Update CHANGELOG.md
  • Loading branch information
huankong233 committed Dec 7, 2023
1 parent ad793da commit 2c4d2a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
### Changed
### Added
### Fixed
* fix the wrong type of setTransform

3.0.0
==================
Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Expand Up @@ -201,6 +201,7 @@ export class CanvasRenderingContext2D {
getTransform(): DOMMatrix;
resetTransform(): void;
setTransform(transform?: DOMMatrix): void;
setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;
isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;
scale(x: number, y: number): void;
clip(fillRule?: CanvasFillRule): void;
Expand Down

0 comments on commit 2c4d2a7

Please sign in to comment.