Given the following example:
type F = SnakeCasedPropertiesDeep<
CamelCasedPropertiesDeep<{
foo_1: boolean;
}>
>;
I would expect each operation to be the opposite operation of each other - resulting in F being back to its original value F = { foo_1: boolean }
.
That is not the current behaviour, we as have F = { foo1: boolean }
.
Is that behaviour correct? If so, how can I get back to my original value when jumping from one case to the other?
For context, I'm trying to match the result of lodash's snakeCase
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too