Closed 171h closed 1 year ago
Probably the correct way to use objects that you don't want defu to try and deep-merge, is to convert them toString()
before setting into your input or defaults objects. Defu is a minimal implementation and this would be the only special case, which seems wrong.
Environment
defu
development environmentReproduction
.
Describe the bug
// this repo/test/defu.test.ts
// output
results.newObj2 should toBe obj2
Additional context
.
Logs