diff --git a/types/types.d.ts b/types/types.d.ts index 3075909b..9375402a 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -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