mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-06 20:33:33 +01:00
refs #850 Add define types for timeFormat in constants
This commit is contained in:
parent
bfabb81706
commit
79c850405e
13
src/constants/timeFormat/index.d.ts
vendored
Normal file
13
src/constants/timeFormat/index.d.ts
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user