Skip to content

Commit

Permalink
fix: Rect.make() and Size.make()
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewscwei committed Sep 11, 2024
1 parent bf38bc3 commit bcfd517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/Rect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class Rect {
*
* @returns The resulting {@link Rect} instance.
*/
static make(descriptor: RectDescriptor): Rect
static make(descriptor?: RectDescriptor): Rect

/**
* Creates a new {@link Rect} instance.
Expand Down
2 changes: 1 addition & 1 deletion src/core/Size.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class Size {
*
* @returns The resulting {@link Size} instance.
*/
static make(descriptor: SizeDescriptor): Size
static make(descriptor?: SizeDescriptor): Size

/**
* Creates a new {@link Size} instance.
Expand Down

0 comments on commit bcfd517

Please sign in to comment.