🦜 Total TypeScript
@www.totaltypescript.com@rss-parrot.net
I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline!
Brought to you by the RSS Parrot.
---
Learn how to use TypeScript to level-up your applications as a web developer through exercise driven self-paced workshops and tutorials hosted by TypeScript wizard Matt Pocock.
Your feed and you don't want it here? Just
e-mail the birb.
This Crazy Syntax Lets You Get An Array Element's Type (article)
https://www.totaltypescript.com/get-the-type-of-an-array-element
Published: September 2, 2024 10:16
Learn how to extract the type of an array element in TypeScript using the powerful `Array[number]` trick.
How To Create An NPM Package (article)
https://www.totaltypescript.com/how-to-create-an-npm-package
Published: August 21, 2024 15:36
Learn how to publish a package to npm with a complete setup including, TypeScript, Prettier, Vitest, GitHub Actions, and versioning with Changesets.
Why I Don't Like Enums (article)
https://www.totaltypescript.com/why-i-dont-like-typescript-enums
Published: August 14, 2024 12:21
Enums in TypeScript can be confusing, with differences between numeric and string enums causing unexpected behaviors.
Is TypeScript Just A Linter? (article)
https://www.totaltypescript.com/is-typescript-just-a-linter
Published: July 15, 2024 14:20
Is TypeScript just a linter? No, but yes.
Announcing: A Free Book, A New Course, A Huge Price Cut... (article)
https://www.totaltypescript.com/announcing-a-free-book-a-course-a-huge-price-cut
Published: July 8, 2024 10:26
It's a massive ship day. We're launching a free TypeScript book, new course, giveaway, price cut, and sale.
Sometimes, Object Property Order Matters (article)
https://www.totaltypescript.com/property-order-matters
Published: June 11, 2024 15:40
Learn why the order you specify object properties in TypeScript matters and how it can affect type inference in your functions.
How To Use Corepack (article)
https://www.totaltypescript.com/how-to-use-corepack
Published: June 2, 2024 08:28
Learn how to use `corepack` to configure package managers in Node.js projects, ensuring you always use the correct one.
How To Strongly Type process.env (article)
https://www.totaltypescript.com/how-to-strongly-type-process-env
Published: April 4, 2024 15:03
Learn how to strongly type process.env in TypeScript by either augmenting global type or validating it at runtime with t3-env.
`any` Considered Harmful, Except For These Cases (article)
https://www.totaltypescript.com/any-considered-harmful
Published: March 27, 2024 08:33
Discover when it's appropriate to use TypeScript's `any` type despite its risks. Learn about legitimate cases where `any` is necessary.
No, TypeScript Types Don't Exist At Runtime (article)
https://www.totaltypescript.com/typescript-types-dont-exist-at-runtime
Published: March 25, 2024 09:15
Learn why TypeScript's types don't exist at runtime. Discover how TypeScript compiles down to JavaScript and how it differs from other strongly-typed languages.