Skip to content

Commit

Permalink
update updateLocal to have proper ts types
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasszymanski committed Nov 12, 2021
1 parent b5a1391 commit fb18371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/plugin/updateLocale.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, unknown>): Record<string, unknown>
}

0 comments on commit fb18371

Please sign in to comment.