[Glitch] Convert packs/public.jsx to Typescript

Port c76ae7a5c0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput
2024-03-15 14:16:45 +01:00
committed by Claire
parent 1b06e4e1b7
commit 7fe848b161
4 changed files with 362 additions and 232 deletions

View File

@@ -102,7 +102,7 @@ const getUnitDelay = (units: string) => {
};
export const timeAgoString = (
intl: IntlShape,
intl: Pick<IntlShape, 'formatDate' | 'formatMessage'>,
date: Date,
now: number,
year: number,