TypeScript

What is TypeScript?

TypeScript is JavaScript with a checking layer added on top, developed by Microsoft. It catches a whole class of mistakes while the code is being written, before the software runs.

Talk to an engineer Knowledge base
Lines of source code on a monitor

What it is

JavaScript is the language that makes web pages interactive. It is forgiving, which means it lets a developer pass the wrong kind of value to the wrong place and only fails once someone is using the page. TypeScript lets developers state what each part expects, such as a number, a date or a customer record, and a checker flags a mismatch as soon as the code is written.

The code is then turned into ordinary JavaScript, so it runs anywhere JavaScript does. The checks only happen while building, so data from outside, such as a form or another system, still has to be checked when the program runs. TypeScript comes from Microsoft and is open source.

Why it matters if you are paying for software

More mistakes are caught at the developer's desk instead of in front of a customer. When a requirement changes, the checker points to every place affected, so changes are less risky. And the declared types act as built-in notes, so a new developer can pick the code up faster.

How KawaConnect uses TypeScript

We use TypeScript for web application work where the extra checking is worth it, both in the screens people click through and in the services behind them. It is part of how we build custom business software that has to keep working as requirements change.

Related services

Software

Custom web applications and business tools.

Websites

Sites we design, build, and host for clients.

AI and automation

Integrations and custom tools between your systems.

Learn more

  • TypeScript on WikipediaA short, neutral description of the language and how it relates to JavaScript, handy for non-developers.
  • TypeScript websiteThe official site, including an in-browser playground for trying the language without installing anything.
  • TypeScript documentationHandbooks and reference material for developers learning or reviewing TypeScript code.

Related guides

MicrosoftGitGitHubGitLabPythonAPIAnsibleTerraform

Planning a web application?

Share what it needs to do. We will talk through how to build it so it stays reliable as it grows.

Start a conversation