Closed raidenmiro closed 1 month ago
If we transform an object like { ProjectID: '...' }, he becomes { projectId: '...' }. But by types, it becomes projectID.
{ ProjectID: '...' }
{ projectId: '...' }
projectID
Reproduce https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgYQIYgKYBs0GcMDSGAnrnAL5wBmUEIcA5AMbrYv4C0A1ibgwFD8YxMBjgAlDLgCuWeAF4UrHKnxFSAHgT84cAAq0AVhiYwAkgBEAXHFwwowAHYBzfuQB8gphEd24PLhtJGTl+AHow3SiAPQB+IA
Duplicate of https://github.com/sindresorhus/camelcase-keys/issues/88
If we transform an object like
{ ProjectID: '...' }
, he becomes{ projectId: '...' }
. But by types, it becomesprojectID
.Reproduce https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgYQIYgKYBs0GcMDSGAnrnAL5wBmUEIcA5AMbrYv4C0A1ibgwFD8YxMBjgAlDLgCuWeAF4UrHKnxFSAHgT84cAAq0AVhiYwAkgBEAXHFwwowAHYBzfuQB8gphEd24PLhtJGTl+AHow3SiAPQB+IA