Run yarn dedupe and upgrade TS (#13853)
Upgrading TS to the latest version, and cleaning up packages with yarn dedupe
This commit is contained in:
+4
-5
@@ -331,11 +331,10 @@ type DatePickerPropsType = ReactDatePickerLibProps<
|
||||
boolean | undefined
|
||||
>;
|
||||
|
||||
const ReactDatePicker = lazy(
|
||||
() =>
|
||||
import('react-datepicker') as Promise<{
|
||||
default: ComponentType<DatePickerPropsType>;
|
||||
}>,
|
||||
const ReactDatePicker = lazy<ComponentType<DatePickerPropsType>>(() =>
|
||||
import('react-datepicker').then((mod) => ({
|
||||
default: mod.default as unknown as ComponentType<DatePickerPropsType>,
|
||||
})),
|
||||
);
|
||||
|
||||
export const DateTimePicker = ({
|
||||
|
||||
Reference in New Issue
Block a user