From b92a48809167d19aae0f3c792b9d09ad31f99ca0 Mon Sep 17 00:00:00 2001 From: Dmitriy Shekhovtsov Date: Tue, 24 Apr 2018 18:05:47 +0300 Subject: [PATCH] chore(build): fix typings --- src/chronos/i18n/ro.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chronos/i18n/ro.ts b/src/chronos/i18n/ro.ts index 064ce0a6f7..a95c33fc8b 100644 --- a/src/chronos/i18n/ro.ts +++ b/src/chronos/i18n/ro.ts @@ -10,8 +10,8 @@ import { LocaleData } from '../locale/locale.class'; //! author : Valentin Agachi : https://github.com/avaly // ! author : Earle white: https://github.com/5earle -function relativeTimeWithPlural(num, withoutSuffix, key) { - let format = { +function relativeTimeWithPlural(num: number, withoutSuffix: boolean, key: string): string { + let format: {[key:string]: string} = { ss: 'secunde', mm: 'minute', hh: 'ore',