Here's a common query: How can I change keys from readonly to writable when using a type that is Readonly
?
For example:
type Foo = Readonly<{
foo: number
bar: number
}>
type Bar = /* What's the method to duplicate the Foo type, but with writable keys? */