JavaScript with types. Fewer errors, better tooling and code you will still understand years from now.
- Type
- Programming language
- Based on
- JavaScript
- Role
- All frontend code
What is TypeScript?
TypeScript is an extension of JavaScript that adds types. The code is checked before it runs, so many errors are already found during development. The result is plain JavaScript that works everywhere, only more robust.
Why TypeScript?
Fewer bugs
Type errors show up immediately, before a user ever notices them.
Better maintenance
Clear agreements in the code make extending and refactoring safer.
Faster collaboration
Editors understand the code better, with smart suggestions and autocomplete.
What we use it for
- AAll portals in React Router
- BWebsites in Astro and Next.js
- CShared types between frontend and API
- DLong-running projects with multiple developers
When do you choose TypeScript?
We write all frontend code in TypeScript. Especially for portals that last for years and keep growing, it quickly pays for itself.
TypeScript or JavaScript?
TypeScript is JavaScript with a layer of checks. Exactly the same code runs in the browser, but errors in data and integrations show up during the build instead of with your users.