Skip to content

Commit 447ee72

Browse files
committed
Fix Detail and DateCallback identifiers set to global
1 parent e73b7ea commit 447ee72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/// <reference types="react" />
22

3-
type Detail = "month" | "year" | "decade" | "century"
4-
type DateCallback = (date: Date) => void
5-
63
declare module "react-calendar" {
4+
type Detail = "month" | "year" | "decade" | "century"
5+
type DateCallback = (date: Date) => void
6+
77
export default function Calendar(props: CalendarProps): JSX.Element;
88

99
export interface CalendarProps {

0 commit comments

Comments
 (0)