Preview:```ts
type AType = { a: { value: boolean } }
type BType = { b: { value: number } }
type Unwrap<T> = { -readonly [K in keyof T]: T[K][keyof T[K]] } & {}
declare function testFoo<const T extends AType | AType & BType>(arg: T): Unwrap<T>
// want { a: true }
const one = testFoo({ a: { value: true } })
...```
You can choose specific lines to embed by selecting them before copying the link.