Preview:```ts
type A = {
foo: "a",
bar: "b"
}
// Need to make a type
type ATarget = {
key: "foo"
} | {
key: "bar"
}
type GetATarget = A extends {[infer K]: any} ? K : 0```
You can choose specific lines to embed by selecting them before copying the link.