While exploring complex types, I often create dummy types as a way to explore a certain part of the type in ts-type-explorer. For example, if I'm exploring this type:
type Context = InferContext<createContext>
I might want to explore Context['data']['user'] in more detail without hitting the recursion limit, so I'll do:
type Context = InferContext<createContext>
type Foo = Context['data']['user']
Instead, it would be nice if I could double-click the Context['data']['user'] node in the ts-type-explorer tree to "focus" it, making it the root of the tree.
While exploring complex types, I often create dummy types as a way to explore a certain part of the type in
ts-type-explorer
. For example, if I'm exploring this type:I might want to explore
Context['data']['user']
in more detail without hitting the recursion limit, so I'll do:Instead, it would be nice if I could double-click the
Context['data']['user']
node in thets-type-explorer
tree to "focus" it, making it the root of the tree.