From f0e5702ee57b1e65f24c23b84eefdba842ce6c08 Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 13 Dec 2023 10:48:54 +0200 Subject: [PATCH] [pickers] Fix field types to avoid error on latest `@types/react` version (#11397) --- .../src/internals/hooks/useField/useField.types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/x-date-pickers/src/internals/hooks/useField/useField.types.ts b/packages/x-date-pickers/src/internals/hooks/useField/useField.types.ts index ab94dc748632..13c006062500 100644 --- a/packages/x-date-pickers/src/internals/hooks/useField/useField.types.ts +++ b/packages/x-date-pickers/src/internals/hooks/useField/useField.types.ts @@ -172,7 +172,7 @@ export type UseFieldResponse = O keyof UseFieldForwardedProps > & Required & - Pick, 'autoCorrect' | 'inputMode' | 'placeholder'> & { + Pick, 'autoCorrect' | 'inputMode' | 'placeholder'> & { ref: React.Ref; value: string; onChange: React.ChangeEventHandler;