Write me typescript code to get keys of two types: T1, T2.
type T1 = { a: string; } type T2 = { b: number; } | { c: boolean; }
What is the type of T1 | T2? And what are its keys?
T1 | T2
· Sign up or log in to comment