Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ahkhanjani committed Nov 17, 2024
1 parent 2249ae0 commit 4338ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Rectangle } from "./types";
const emptyRect = { x: 0, y: 0, width: 0, height: 0 };
const rect = { x: 25, y: 25, width: 50, height: 50 };

function forkRect(partial: Partial<Rectangle>, baseRect: Rectangle = rect) {
function forkRect(partial: Partial<Rectangle>) {
return { ...rect, ...partial };
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Rectangle } from "./types";
const emptyRect = { x: 0, y: 0, width: 0, height: 0 };
const rect = { x: 25, y: 25, width: 50, height: 50 };

function forkRect(partial: Partial<Rectangle>, baseRect: Rectangle = rect) {
function forkRect(partial: Partial<Rectangle>) {
return { ...rect, ...partial };
}

Expand Down

0 comments on commit 4338ea8

Please sign in to comment.