Lets say I have an interface Obj:
interface Obj {
string1: string
string2: string
array1: SomeInterface[]
array2: SomeOtherInterface[]
}
How can one extract the keys of the interface Obj that extends [] as a discriminated union type?
Desired output given Obj from above:
// "array1" | "array2"