Skip to content

Commit

Permalink
fix: add loose autocomplete in Format type (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwd authored Apr 18, 2024
1 parent 5688e91 commit 2d13206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export type FormatStyleObj =
| { date: FormatStyle }
| { time: FormatStyle }

export type Format = FormatStyle | FormatStyleObj | string
export type Format = FormatStyle | FormatStyleObj | (string & {})

/**
* A union of all available formatting tokens.
Expand Down

0 comments on commit 2d13206

Please sign in to comment.