🅰️ Angular 16.0.1 —Typescript 5.1 And Boolean/Number Inputs
Oh, hey there! I wasn’t writing for some weeks now, because I was working on Summon The JSON: Rust deck, and now on Go deck as well.
Also, there was not much to cover. All fellow coders seem to release new versions of your favorite libraries less often. But there are some highlights.
Today I will tell you about what’s new in Angular. Lately you remember the major, epic Angular 16 was released. I’ve covered it in May.
Now we get close to the end of Juny 2023 with 16.0.1 to 16.2.0-next.0 releases on the plate followed by some rumors about Angular 17 as well.
I’ll tell you about the most important things, so you can stay up to date.
Typescript 5.1 Support
TypeScript 5.1 relaxes undefined function rules, getters and setters can use different types (we’ll get back to it later), and eases writing JSDoc among other improvements. Now you can use it in Angular. To learn more about Typescript 5.1 check out my article. The support was introduced in Angular 16.1.0.
Boolean And Number Input Type Support
What’s extremely confusing about Angular is that @Input of a component is always treated as a string. It causes a lot of confusion.