If you have problems inspecting complex types from the compact hover tooltip, this extension is for you.
Opens a live view of the type declarations in your file, formatted and in expanded form (no '[...]' truncation).
It will reveal any type declarations on your file, and update if you change it.
Just spread the interface into a type declaration:
type Revealed = {
[K in keyof MyInterface]: [MyInterface[K]]
}
Use typeof
and assign to a type declaration
type Revealed = typeof myVar