Powerful query type by comment.
type T = {
a: string
c?: boolean
d: 'some desc\n\\n'
e: {
f: string
g: true
}
}
// _?
type T0 = T['a']
// ^?
type T2 = T['e']['f'] //<6?
// ^?
// ^2?
// ^3?
_?
⌄?
v?
V?
^?
<#?
- where#
is the number of characters offset
Use in VSCode.