Skip to content

Commit

Permalink
optional options option
Browse files Browse the repository at this point in the history
  • Loading branch information
ELI7VH committed Jan 4, 2025
1 parent 93c3455 commit 4501f2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dank-inc/sketchy",
"version": "1.1.0",
"version": "1.1.1",
"author": "Elijah Lucian",
"description": "A Super-dank sketching library built with ♥ and typescript!",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export type Canvas2DParams = {

// draw helpers
saver: (body: () => void) => void
circle: (x: number, y: number, r: number, options: ArcOptions) => void
shape: (points: [number, number][], options: ShapeOptions) => void
circle: (x: number, y: number, r: number, options?: ArcOptions) => void
shape: (points: [number, number][], options?: ShapeOptions) => void
}

export type SketchParams = {
Expand Down

0 comments on commit 4501f2d

Please sign in to comment.