refs #850 Add define types for timeFormat in constants
This commit is contained in:
parent
bfabb81706
commit
79c850405e
|
@ -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
|
Loading…
Reference in New Issue