Fix typescript bs in timeAgo method

This commit is contained in:
Justin Edmund 2022-02-26 17:53:20 -08:00
parent a1f9778185
commit 240640dc49

View file

@ -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' },