Provide Inlay Hints
provideInlayHintsDisplays inferred types, parameter names, and return types as inline annotations within the code, making TypeScript type inference visible without explicit annotations.
Instructions
Get inlay hints (inline type annotations) for a range. Shows inferred types, parameter names at call sites, and return types. Useful for understanding what TypeScript infers without explicit type annotations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File path (absolute or relative to cwd) | |
| start | Yes | Start offset (0-based character position) | |
| length | Yes | Length of range in characters |