Release
- Version
- 7.1
- Channel
- Beta
- Released
- Release notes
- TypeScript Blog
Microsoft has released the beta of TypeScript 7.1, available with `npm install -D typescript@beta`. The update adds support for import attributes in ambient modules, metadata that can tell runtimes and bundlers how to interpret imported content. One example uses `type: "json"` to signal that an imported file should be parsed as JSON; a JavaScript proposal also covers importing text as a string.
AI-written summary, checked against the cited sources. How summaries work
