Skip to content

Commit

Permalink
Merge pull request #142 from vic08/fix-type
Browse files Browse the repository at this point in the history
fix(*): fix month input type
  • Loading branch information
spencermountain authored Jun 3, 2019
2 parents d02c111 + b3d20a7 commit a858bb8
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 a858bb8

Please sign in to comment.