Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TypeScript Reveal TypesNew to Visual Studio Code? Get it now.
TypeScript Reveal Types

TypeScript Reveal Types

betafcc

|
539 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ts-reveal-types README

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).

example

Features

It will reveal any type declarations on your file, and update if you change it.

Reveal an interface

Just spread the interface into a type declaration:

type Revealed = {
  [K in keyof MyInterface]: [MyInterface[K]]
}

Reveal type of a variable

Use typeof and assign to a type declaration

type Revealed = typeof myVar
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft