Skip to content

Commit

Permalink
Update useTempocal.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Zertz committed Jun 18, 2024
1 parent 3ec4177 commit 4036659
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/react/src/useTempocal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ type ChangeValue<Mode> = Mode extends "date"
| [undefined, undefined]
: never;

export type Locale = Exclude<
Parameters<typeof Intl.DateTimeFormat>[0],
undefined
>;
export type Locale = string;

export function useTempocal<
Mode extends "date" | "daterange" | "datetime" | "datetimerange"
Expand Down

0 comments on commit 4036659

Please sign in to comment.