I have the following type:
type MyKeys = 'foo' | 'bar' | 'baz'
I want to define a type that has keys of type MyKeys, but also extends it with more keys, like this:
type FooType = {
[key in MyKeys]: boolean
quux: boolean // <--- Error: '}' expected.ts(1005)
}
How can I use both generic keys and explicit key names?
