Preview:```ts
const IExample = {
foo: {
bars: {
bar: {
baz: 1,
},
},
},
}
type F = <
name extends keyof typeof IExample,
val extends keyof typeof IExample[name]
() => typeof IExample[name][val]
const foo = <
name extends keyof typeof IExample,
val extends keyof typeof IExample[name]["bars"]
(
...```
You can choose specific lines to embed by selecting them before copying the link.