Jan 2024 Top Articles and Resources
Articles and Learning Resources that I found useful in January 2024.
Hello everyone,
I am very excited to let you know that starting in January 2024, I will be sending out a monthly curated list of top articles and resources related to Typescript and other relevant technologies. This list will be sent out on the first Monday following the end of each month.
Although I share these articles on my social media, I wanted to create a central place where all of my subscribers could find all the useful resources related to Typescript I come across regularly. This is a return to the roots of the contents of this Newsletter, which was mainly focused on curating Typescript resources.
For those who are still interested in my regular content, don't worry, as it will continue to be sent out every week.
I appreciate your support.
Announcement
TypeScript 5.4 Beta Announced
In late January, the beta version of Typescript 5.4 was released. Some of its features include:
Assignment Narrowing is Preserved in Closures
New NoInfer Utility Type
Type Declarations for Object.groupBy and Map.groupBy
Support for require() calls in
--moduleResolution
bundler and--module preserve
Checked Import Attributes and Assertions
Quick Fix for Adding Missing Parameters
For more information, check out the official announcement here.
My Articles
Articles
Daniel Rosenwasser on TypeScript and What’s Ahead in 2024 by Loraine Lawson
In this Q&A with The New Stack, Rosenwasser shared TypeScript’s most significant developments in 2023 and provided a preview of what developers can expect to see in the coming year.
Solving TypeScript Errors by Matt Pocock
In this tutorial, you'll find challenges centered around reading error messages and practical solutions to solving the issues they describe.
The Bun Shell by Jarred Sumner
The Bun Shell is a new experimental embedded language and interpreter in Bun that allows you to run cross-platform shell scripts in JavaScript & TypeScript.
Link.
Using Zod's schema to render a reusable and dynamic Angular table component by Tim Deschryver
In this blog post, we'll see how to use Zod to dynamically build a (minimal) table as a reusable and typesafe Angular component. For this, the following Person
schema will be used within the next snippets.
Everything You’ve Always Wanted to Know About TypeScript’s Integration in WebStorm by Jan-Niklas Wortmann
Ever tense up when a new TypeScript version drops? You cross your fingers and hope it plays nice with your IDE. You’re not alone. Relax into this fireside chat with WebStorm lead developer and Team Lead, Andrey Starovoyt, as we pull back the curtain on TypeScript’s integration in WebStorm.
Modern JavaScript library starter by Tamás Sallai
How to publish a package with TypeScript, testing, GitHub Actions, and auto-publish to NPM
TDD: Writing Testable Code by JavaScript Scene by Eric Elliott
Writing testable code is a vital skill in software engineering. Let’s explore practical advice, strategies, and tactics for writing more testable code, unlocking the benefits of modularity, reusability, and high quality software in your projects.
Writing type safe API clients in TypeScript by Nazeel
Writing API integrations can be a daunting task. But it does not need to be. How many times have you had to deal with these problems?
Leveraging TypeScript for domain-driven design by Matteo Di Pirro
Domain-driven design (DDD) is a software development approach that aims to simplify the creation of applications that involve complex business logic. In this article, we’ll explore how to leverage TypeScript for DDD. TypeScript’s sophisticated type system enables fine-grained domain modeling and is highly adaptable, lending itself to complex app development.
The Discriminated Union: Writing Easy-to-Use Types in TypeScript by Peter Van Drunen
TypeScript’s flexibility is one of the reasons I love using it. Unfortunately, that flexibility also provides opportunities to write confusing code. The main area where I see developers struggling is defining types that make writing code painful or verbose. Often, this comes in the form of using optional fields to extend types so they represent too many ideas within the same type.
That's all for now. I'll see you again at the end of February for another monthly recap.