type-fest
type-fest copied to clipboard
Fix: CamelCasedPropertiesDeep changing tupleto array
fix #817
- Copied the array/tuple-logic from DelimiterCasedPropertiesDeep to fix CamelCasedPropertiesDeep to change tuple to array.
It should be a separate helper type, like in https://github.com/sindresorhus/type-fest/blob/main/source/delimiter-cased-properties-deep.d.ts
It would also be useful with a comment to indicate where it's copied from, to make it easier to keep them in sync.
@pmk1c Bump :)
Sorry for letting you wait.
I also tried merging CamelCasedPropertiesArrayDeep
and DelimiterCasedPropertiesArrayDeep
into a higher order helper, but I gave up on that, when my head also started to hurt.
I'd think this is good for now.