Skip to content

Commit c7a3f73

Browse files
fix: update updateLocal plugin typescript types (#1692)
Co-authored-by: Lukasz Szymanski <[email protected]>
1 parent a6eef52 commit c7a3f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/plugin/updateLocale.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ declare const plugin: PluginFunc
44
export = plugin
55

66
declare module 'dayjs' {
7-
export function updateLocale(localeName: String, customConfig: Object): any
7+
export function updateLocale(localeName: string, customConfig: Record<string, unknown>): Record<string, unknown>
88
}

0 commit comments

Comments
 (0)