Skip to content

Commit 8b045f5

Browse files
authored
Fix "Cannot find module 'date-fns/types' ..."
1 parent f735e60 commit 8b045f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import Year from "./year";
5050
import YearDropdown from "./year_dropdown";
5151

5252
import type { ClickOutsideHandler } from "./click_outside_wrapper";
53-
import type { Day } from "date-fns/types";
53+
import type { Day } from "date-fns";
5454

5555
interface YearDropdownProps
5656
extends React.ComponentPropsWithoutRef<typeof YearDropdown> {}

0 commit comments

Comments
 (0)