Skip to content

Commit 5e02ecf

Browse files
committed
chore: fix type
1 parent a9abe31 commit 5e02ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function readUser (options?: RCOptions | string): RC {
7878
}
7979

8080
export function serialize (config: RC): string {
81-
return Object.entries(flat.flatten(config))
81+
return Object.entries(flat.flatten<RC, RC>(config))
8282
.map(([key, val]) => `${key}=${typeof val === 'string' ? val : JSON.stringify(val)}`)
8383
.join('\n')
8484
}

0 commit comments

Comments
 (0)