Superset means all valid JavaScript is also valid Typescript. (At least, so long as you don’t have compiler setting on that requires all variables to have a type declared.)
- 0 Posts
- 4 Comments
Joined 2 years ago
Cake day: June 18th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
It’s a superset of JavaScript. The big add is static typing, reducing the chance of runtime type errors. It compiles to vanilla JavaScript for distribution. Other new features include enums, interfaces, and generics for more type safety.
mercano@lemmy.worldto
Programmer Humor@programming.dev•What do you call your production branch?
1·3 months ago“live” didn’t make it onto the list, I see.
With an atomic number of 241, it’s hardly small.