TypeSpec: A Practical TypeScript-Inspired API Definition Language
![Comparison of an API definition written in TypeSpec vs OpenAPI side-by-side](https://eranstiller.com/wp-content/uploads/2024/05/TypeSpec-Header.png)
Recently, Microsoft engineers officially unveiled TypeSpec, a new language tailored for API-centric development that addresses the complex needs of modern API design. TypeSpec is an open-source, extensible language inspired by TypeScript and C#. It supports various protocols and serialization formats, enabling developers to use a single tool to manage multiple API specifications.