chore: fix ts def

This commit is contained in:
二货机器人 2022-11-07 23:51:56 +08:00
parent dc9412ee55
commit 3bc6bbd6d9
2 changed files with 1 additions and 4 deletions

View File

@ -23,9 +23,7 @@ import warning from '../../_util/warning';
import useStyle from '../style';
export default function generateRangePicker<DateType>(
generateConfig: GenerateConfig<DateType>,
): PickerComponentClass<RangePickerProps<DateType>> {
export default function generateRangePicker<DateType>(generateConfig: GenerateConfig<DateType>) {
type InternalRangePickerProps = RangePickerProps<DateType> & {};
type DateRangePickerProps = RangePickerProps<DateType> & {
/**

View File

@ -5,7 +5,6 @@ import type { DropDownProps } from '..';
import mountTest from '../../../tests/shared/mountTest';
import rtlTest from '../../../tests/shared/rtlTest';
import { act, fireEvent, render, waitFakeTimer } from '../../../tests/utils';
import Menu from '../../menu';
import { resetWarned } from '../../_util/warning';
let triggerProps: TriggerProps;