Skip to content

Type Extraction

Using // ^? you can pull out type information about a particular identifier in the line of code above it.

const
const hi: "Hello"
hi
= 'Hello'
const msg = `${
const hi: "Hello"
hi
}, world`
const msg: "Hello, world"