From fb1837102ba06eebe3616d6614262c0dd18f8d35 Mon Sep 17 00:00:00 2001 From: Lukasz Szymanski Date: Fri, 12 Nov 2021 15:05:18 +0100 Subject: [PATCH] update updateLocal to have proper ts types --- types/plugin/updateLocale.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plugin/updateLocale.d.ts b/types/plugin/updateLocale.d.ts index 44bce470d..ef1c01df9 100644 --- a/types/plugin/updateLocale.d.ts +++ b/types/plugin/updateLocale.d.ts @@ -4,5 +4,5 @@ declare const plugin: PluginFunc export = plugin declare module 'dayjs' { - export function updateLocale(localeName: String, customConfig: Object): any + export function updateLocale(localeName: string, customConfig: Record): Record }