Skip to content

Commit

Permalink
Fix: Use type-only import for Calendar to resolve naming conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddtang committed Sep 3, 2024
1 parent eb95ecf commit 088f413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare module "react-multi-date-picker" {
import React, { HTMLAttributes } from "react";
import DateObject, { Calendar, Locale } from "react-date-object";
import DateObject, { type Calendar, Locale } from "react-date-object";

export type Value = Date | string | number | DateObject | null;
export type FunctionalPlugin = { type: string; fn: Function };
Expand Down

0 comments on commit 088f413

Please sign in to comment.