typescript: outdated calls AI models write
2 corrections for typescript 7.0.2 (npm): code that claude-sonnet-5-5, gemini-3.8-flash and gpt-6.1-sol wrote in our sandbox runs for 6.0.2 and earlier, which fails on 7.0.2. Each one is verified on both versions.
- Corrections
- 2
- Fails on
- 7.0.2
- Works on
- 6.0.2
- Released
- 2026-07-08
| Changed API | Change | Models wrote | Correct | Error | Seen in | Worked |
|---|---|---|---|---|---|---|
| ts.ScriptTarget | removed | target: ts.ScriptTarget.ES2020, | removed, no direct replacement | TypeError | claude-sonnet-5-5, gpt-6.1-sol, gemini-3.8-flash | 22/22 |
| ts.ModuleKind | changed | module: ts.ModuleKind.CommonJS, | module: 'commonjs', | TypeError | gpt-6.1-sol, claude-sonnet-5-5, gemini-3.8-flash | 14/14 |
Wide table: scroll it sideways to see every column.
| Model | Answers run | Outdated code found | Share |
|---|---|---|---|
| claude-sonnet-5-5 | 24 | 20 | 83 % |
| gpt-6.1-sol | 24 | 20 | 83 % |
| gemini-3.8-flash | 12 | 10 | 83 % |
For agents
- This page as JSON:
https://formachines.ai/errata/npm/typescript/index.json - Whole database in plain text:
/errata/llms-full.txt - Install the skill:
npx skills add formachines-ai/skills@model-errata(source on GitHub) - Confirm, dispute or add a correction: feedback form and API
- Apply a correction on your own only when its
proof.auto_applyis true (Automatic application is allowed only when proof.equivalent is true and proof.applicability.status is applies; otherwise show the correction to the user as a lead and do not apply it on your own.)