We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9abe31 commit 5e02ecfCopy full SHA for 5e02ecf
src/index.ts
@@ -78,7 +78,7 @@ export function readUser (options?: RCOptions | string): RC {
78
}
79
80
export function serialize (config: RC): string {
81
- return Object.entries(flat.flatten(config))
+ return Object.entries(flat.flatten<RC, RC>(config))
82
.map(([key, val]) => `${key}=${typeof val === 'string' ? val : JSON.stringify(val)}`)
83
.join('\n')
84
0 commit comments