Fix typescript bs in timeAgo method
This commit is contained in:
parent
a1f9778185
commit
240640dc49
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
const DIVISIONS = [
|
||||
const DIVISIONS: { amount: number, name: Intl.RelativeTimeFormatUnit }[] = [
|
||||
{ amount: 60, name: 'seconds' },
|
||||
{ amount: 60, name: 'minutes' },
|
||||
{ amount: 24, name: 'hours' },
|
||||
|
|
|
|||
Loading…
Reference in a new issue