Skip to content

Commit

Permalink
Merge pull request #311 from kiddtang/master
Browse files Browse the repository at this point in the history
Use type-only import for Calendar to resolve naming conflict
  • Loading branch information
shahabyazdi authored Sep 3, 2024
2 parents eb95ecf + 088f413 commit ad739ff
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 ad739ff

Please sign in to comment.