forked from date-fns/date-fns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix constants typings (date-fns#2791)
Fixed constants not having proper TypeScript and Flow types.
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
export const daysInWeek: number | ||
export const maxTime: number | ||
export const millisecondsInMinute: number | ||
export const millisecondsInHour: number | ||
export const millisecondsInSecond: number | ||
export const minTime: number | ||
export const minutesInHour: number | ||
export const monthsInQuarter: number | ||
export const monthsInYear: number | ||
export const quartersInYear: number | ||
export const secondsInHour: number | ||
export const secondsInMinute: number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
// @flow | ||
|
||
declare export var daysInWeek: number | ||
declare export var maxTime: number | ||
declare export var millisecondsInMinute: number | ||
declare export var millisecondsInHour: number | ||
declare export var millisecondsInSecond: number | ||
declare export var minTime: number | ||
declare export var minutesInHour: number | ||
declare export var monthsInQuarter: number | ||
declare export var monthsInYear: number | ||
declare export var quartersInYear: number | ||
declare export var secondsInHour: number | ||
declare export var secondsInMinute: number |