refs #850 Add define types for timeFormat in constants

This commit is contained in:
AkiraFukushima 2019-04-15 22:17:09 +09:00
parent bfabb81706
commit 79c850405e
2 changed files with 13 additions and 0 deletions

13
src/constants/timeFormat/index.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
export type TimeFormatType = {
name: string,
value: number
}
export type TimeFormatList = {
Absolute: TimeFormatType,
Relative: TimeFormatType
}
declare var t: TimeFormatList
export default t