diff --git a/types/milliseconds/index.d.ts b/types/milliseconds/index.d.ts index 144886e457..937b281bde 100644 --- a/types/milliseconds/index.d.ts +++ b/types/milliseconds/index.d.ts @@ -9,7 +9,7 @@ interface Milliseconds { hours(hours: number): number days(days: number): number weeks(weeks: number): number - month(month: number): number + months(months: number): number years(years: number): number } diff --git a/types/milliseconds/milliseconds-tests.ts b/types/milliseconds/milliseconds-tests.ts index ea3b7c23ef..adb9efe7f3 100644 --- a/types/milliseconds/milliseconds-tests.ts +++ b/types/milliseconds/milliseconds-tests.ts @@ -5,5 +5,5 @@ milliseconds.minutes(2) milliseconds.hours(3) milliseconds.days(4) milliseconds.weeks(5) -milliseconds.month(6) +milliseconds.months(6) milliseconds.years(7)