Using // ^? you can pull out type information about a particular identifier in the line of code above it.
// ^?
const hi = 'Hello'const msg = `${hi}, world`const msg: "Hello, world"
const msg: "Hello, world"
```ts twoslashconst hi = 'Hello'const msg = `${hi}, world`// ^?```