Skip to content

Commit

Permalink
chore: enhance types
Browse files Browse the repository at this point in the history
  • Loading branch information
EastSun5566 committed Oct 9, 2024
1 parent 4bf1fde commit ec1850a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class LetItGo {

style = DEFAULT_OPTIONS.style;

readonly canvas = document.createElement('canvas');
readonly canvas: HTMLCanvasElement = document.createElement('canvas');

readonly #ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D;

Expand Down

0 comments on commit ec1850a

Please sign in to comment.