Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Nov 15, 2024
1 parent 6066a59 commit d1ca6a4
Showing 1 changed file with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import { FieldChangeHandlerContext, UseFieldInternalProps } from '../useField';
import { Validator } from '../../../validation';
import { WrapperVariant } from '../../models/common';
import {
<<<<<<< HEAD
FieldValueType,
=======
FieldSection,
>>>>>>> master
TimezoneProps,
MuiPickersAdapter,
PickersTimezone,
Expand Down Expand Up @@ -46,24 +41,14 @@ export interface PickerValueManager<TIsRange extends boolean, TError> {
* @template TIsRange `true` if the value comes from a range picker, `false` otherwise.
* @param {MuiPickersAdapter} utils The adapter.
* @param {PickersTimezone} timezone The current timezone.
<<<<<<< HEAD
* @param {FieldValueType} valueType The type of the value being edited.
* @returns {InferPickerValue<TIsRange>} The value to set when clicking the "Today" button.
=======
* @param {PickerValueType} valueType The type of the value being edited.
* @returns {TValue} The value to set when clicking the "Today" button.
>>>>>>> master
* @returns {InferPickerValue<TIsRange>} The value to set when clicking the "Today" button.
*/
getTodayValue: (
utils: MuiPickersAdapter,
timezone: PickersTimezone,
<<<<<<< HEAD
valueType: FieldValueType,
) => InferPickerValue<TIsRange>;
=======
valueType: PickerValueType,
) => TValue;
>>>>>>> master
) => InferPickerValue<TIsRange>;
/**
* @template TIsRange `true` if the value comes from a range picker, `false` otherwise.
* Method returning the reference value to use when mounting the component.
Expand Down Expand Up @@ -301,13 +286,8 @@ export interface UsePickerValueParams<
TExternalProps extends UsePickerValueProps<TIsRange, any>,
> {
props: TExternalProps;
<<<<<<< HEAD
valueManager: PickerValueManager<TIsRange, InferError<TExternalProps>>;
valueType: FieldValueType;
=======
valueManager: PickerValueManager<TValue, InferError<TExternalProps>>;
valueType: PickerValueType;
>>>>>>> master
wrapperVariant: WrapperVariant;
validator: Validator<TIsRange, InferError<TExternalProps>, TExternalProps>;
}
Expand Down

0 comments on commit d1ca6a4

Please sign in to comment.