We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8473f96 commit 88a4470Copy full SHA for 88a4470
src/test/timepicker_test.test.tsx
@@ -13,8 +13,10 @@ import {
13
setupMockResizeObserver,
14
} from "./test_utils";
15
16
+import type { DatePickerProps } from "../index";
17
+
18
const MIN_TIME_LI_LEN = 2;
-const TestDatePicker = DatePicker as unknown as React.ComponentType<any>;
19
+const TestDatePicker = DatePicker as unknown as React.ComponentType<DatePickerProps>;
20
21
describe("TimePicker", () => {
22
let datePicker: HTMLDivElement;
0 commit comments