From b3d20a7f1a5f0f20d0933d6add5234a22e2feb02 Mon Sep 17 00:00:00 2001 From: vic Date: Mon, 3 Jun 2019 19:37:52 +0700 Subject: [PATCH] fix(*): fix month input type --- types/types.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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