From 40366590ba2f48231f90e9f37e4fdabaf362473a Mon Sep 17 00:00:00 2001 From: Pier-Luc Gendreau Date: Tue, 18 Jun 2024 14:59:24 -0400 Subject: [PATCH] Update useTempocal.ts --- packages/react/src/useTempocal.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/react/src/useTempocal.ts b/packages/react/src/useTempocal.ts index 8f4ba23..ade1eb2 100644 --- a/packages/react/src/useTempocal.ts +++ b/packages/react/src/useTempocal.ts @@ -48,10 +48,7 @@ type ChangeValue = Mode extends "date" | [undefined, undefined] : never; -export type Locale = Exclude< - Parameters[0], - undefined ->; +export type Locale = string; export function useTempocal< Mode extends "date" | "daterange" | "datetime" | "datetimerange"