Get Supported Code Fixes
getSupportedCodeFixesDiscover which TypeScript error codes have automated fixes. Provide a file path to scope results by project, then use getCodeFixes to apply them.
Instructions
Returns the list of all error codes that have available code fixes. Use this as a discovery tool before calling getCodeFixes — it tells you which error codes tsserver can automatically fix. A file path must be provided to establish a project context; omitting it will cause tsserver to throw 'No Project'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file path (absolute or relative to cwd). If provided, scopes the result to the file's project. |