Skip to content

Commit

Permalink
Fix formatting issue of Duration type in util.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaKargar committed Mar 28, 2024
1 parent 9529449 commit c51c51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export function errnoMessage(errno: number | undefined): string {
)
}

export type Duration = number | `${number}m` | `${number}s` | `${number}ms`
export type Duration = number | `${number}m` | `${number}s` | `${number}ms`

export function parseDuration(d: Duration) {
if (typeof d == 'number') {
Expand Down

0 comments on commit c51c51e

Please sign in to comment.