diff --git a/types/i18n-js/index.d.ts b/types/i18n-js/index.d.ts index 4800125087..70a197772d 100644 --- a/types/i18n-js/index.d.ts +++ b/types/i18n-js/index.d.ts @@ -70,6 +70,8 @@ declare namespace I18n { } function toCurrency(num: number, options?: ToCurrencyOptions): string; + function toTime(scope: Scope, value: string | number | Date): string; + interface ToHumanSizeOptions extends ToNumberOptions { format?: string; }