Skip to content

Commit

Permalink
fix(*): fix month input type
Browse files Browse the repository at this point in the history
  • Loading branch information
vic committed Jun 3, 2019
1 parent d02c111 commit b3d20a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export interface Spacetime {
date: (value?: number) => number & Spacetime

/** set or return the zero-based month-number (0-11). Also accepts 'June', or 'oct'. */
month: (value?: string) => number & Spacetime
month: (value?: number | string) => number & Spacetime

/** set or return the 4-digit year as an integer */
year: (value?: number) => number & Spacetime
Expand Down

0 comments on commit b3d20a7

Please sign in to comment.