Convert packs/public.jsx
to Typescript (#29501)
This commit is contained in:
parent
407287573c
commit
c76ae7a5c0
3 changed files with 463 additions and 286 deletions
|
@ -102,7 +102,7 @@ const getUnitDelay = (units: string) => {
|
|||
};
|
||||
|
||||
export const timeAgoString = (
|
||||
intl: IntlShape,
|
||||
intl: Pick<IntlShape, 'formatDate' | 'formatMessage'>,
|
||||
date: Date,
|
||||
now: number,
|
||||
year: number,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue