(target: Info, source: Info)
| 39 | // Custom merge function that concatenates array fields instead of replacing them |
| 40 | // Keep remeda's deep conditional merge type out of hot config-loading paths; TS profiling showed it dominates here. |
| 41 | function mergeConfig(target: Info, source: Info): Info { |
| 42 | return mergeDeep(target, source) as Info |
| 43 | } |
| 44 | |
| 45 | function mergeConfigConcatArrays(target: Info, source: Info): Info { |
| 46 | const merged = mergeConfig(target, source) |
no outgoing calls
no test coverage detected