"objectKeys" wrapper from https://github.com/sindresorhus/ts-extras also does this. It would be nice if the behaviour with "as const" was different: const person = { name: 'John Doe', age: 35 } as const const result =…
"objectKeys" wrapper from https://github.com/sindresorhus/ts-extras also does this. It would be nice if the behaviour with "as const" was different: const person = { name: 'John Doe', age: 35 } as const const result =…