Skip to content

Commit

Permalink
fix: add bigint in filesize.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
frani committed Jul 5, 2024
1 parent 9fe5655 commit b558d8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/filesize.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ type FileSizeReturnType<Options extends FileSizeOptions> =
? FileSizeReturnObject
: string;

export function filesize<Options extends FileSizeOptions = undefined>(byteCount: number | string, options?: Options): FileSizeReturnType<Options>
export function partial<Options extends FileSizeOptions = undefined>(options?: Options): (byteCount: number) => FileSizeReturnType<Options>
export function filesize<Options extends FileSizeOptions = undefined>(byteCount: number | string | bigint, options?: Options): FileSizeReturnType<Options>
export function partial<Options extends FileSizeOptions = undefined>(options?: Options): (byteCount: number) => FileSizeReturnType<Options>

0 comments on commit b558d8d

Please sign in to comment.