Skip to content

Commit

Permalink
Merge pull request #55 from EastSun5566/chore/add-jsr-config
Browse files Browse the repository at this point in the history
chore: add jsr config
  • Loading branch information
EastSun5566 authored Oct 12, 2024
2 parents b1426a2 + ec1850a commit f3b57f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@eastsun5566/let-it-go",
"version": "1.0.0",
"exports": "./src/index.ts"
}
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 f3b57f3

Please sign in to comment.