Paul Krill
Editor at Large

TypeScript turns 10 years old

news
Oct 4, 20222 mins

Surprise! Despite initial skepticism, Microsoft’s typed JavaScript not only survived but continues to thrive after a decade.

Woman surprised with balloons
Credit: Thinkstock

After initially being greeted with skepticism, Microsoft’s TypeScript programming language, which brought static types to JavaScript development, has withstood the test of time, a Microsoft official wrote this past weekend.

TypeScript’s 10th birthday occurred on Saturday, October 1, said Daniel Rosenwasser, Microsoft senior program manager for TypeScript, in the blog post. “To some JavaScript users, a team trying to bring static types to JavaScript might have sounded like an evil plot or a joke,” he said. But TypeScript enabled powerful tools like type checking and rich editor features such as code completion for JavaScript.

Microsoft knew that JavaScript was going to be used everywhere, and developers would want tools to help them write it. “For the team, there was a vision for what TypeScript could be, and in fact, if you look back at our first announcement post, the value proposition was largely the same as it is today!”

Citing the requirements for the fledgling project, Rosenwasser said TypeScript had to be free, open source, and interoperate and evolve with existing JavaScript. It also had to feel like JavaScript. Among the design goals:

  • Imposing no runtime overhead on emitted programs.
  • Aligning with current and future ECMAScript proposals.
  • Preserving the runtime behavior of JavaScript code.
  • Avoiding the additin of expression-level syntax.

TypeScript’s creators focused chiefly on the type system and avoided adding new runtime syntax and behaviors. Today, TypeScript is used by millions of developers, and its popularity is increasing. The language has scored prominently in surveys and language rankings, such as the Pypl Popularity of Programming Language index, CircleCI’s 2022 State of Software Delivery report, and GitHub’s Octoverse report.

TypeScript is leveraged in prominent applications such as the Angular web development framework and the Deno runtime. The current version is TypeScript 4.8. TypeScript 4.9 is in a beta release stage.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author