Skip to content

Commit

Permalink
Update declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Masth0 committed Aug 18, 2023
1 parent bfd78b5 commit 7d851ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scratchcard-js",
"version": "1.5.3",
"version": "1.5.4",
"description": "Create scratch card in browser.",
"main": "./build/scratchcard.min.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion types/ScratchCard.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { SC_CONFIG, SCRATCH_TYPE } from './ScratchCardConfig';
declare class ScratchCard {
get canvas(): HTMLCanvasElement;
readonly config: SC_CONFIG;
readonly scratchType: SCRATCH_TYPE;
readonly ctx: CanvasRenderingContext2D;
readonly container: HTMLElement;
private position;
private canvas;
private _canvas;
private readyToClear;
private brush;
private callbackDone;
Expand Down

0 comments on commit 7d851ef

Please sign in to comment.