Skip to content

Commit

Permalink
fix: update updateLocal plugin typescript types (#1692)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Szymanski <lukasz.szymansky@lenses.io>
  • Loading branch information
lukszy and lucasszymanski authored Feb 28, 2022
1 parent a6eef52 commit c7a3f73
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 c7a3f73

Please sign in to comment.