BLUE
MW
Maina Wycliffe
@mainawycliffe.dev
Author of All Things Typescript newsletter ✉️ Newsletter bit.ly/3rFYy9s
45 followers87 following35 posts
Reposted by Maina Wycliffe
Ttypescriptlang.org

TypeScript 5.5 RC is now out to try! We're looking for feedback on inferred type predicates, JSDoc imports, regex checking, ${configDir}, isolatedDeclarations, build optimizations, and more! devblogs.microsoft.com/typescript/a...

Announcing TypeScript 5.5 RC - TypeScript
Announcing TypeScript 5.5 RC - TypeScript

Today we are excited to announce the availability of the release candidate of TypeScript 5.5. To get started using the RC, you can get it through NuGet, or through npm with the following command: npm ...

0
MWmainawycliffe.dev

Thank you Google Developer Experts for sending the new expert pins for 2024 and 2022. Finally, I have my complete set of all pins for all the years I have been a Google Developer Expert (GDE).

0
MWmainawycliffe.dev

When working with multiple object Types in #Typescript, relying on assertions is common when we want access to a property from one of the Types. An alternative approach is using the in operator, which allows Typescript to narrow down types by verifying the existence of a property within the object.

0
MWmainawycliffe.dev

If you do this repeatedly, you will be raising the bar on code quality for your codebase and making it easier for your future self and others.

0
MWmainawycliffe.dev

Every codebase had those dark, unkept, fragile corners, anxiety inducing we like to avoid and sometimes we just tip toe around to fix issues without touching anything else. I usually try and follow the scout rule, always leave a place cleaner than you found it, and this applies to codebases as well.

1
MWmainawycliffe.dev

So, I was looking to start a new NodeJS project for some AI/ML stuff I am trying using Langchain (JS). While I was trying to remember how to extract what I needed to do to scaffold a new Typescript project, I realized I could just use bun. Every line of code works just like it would in node.

Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?

Bun is a JS/TS runtime environment, a package manager, a test runner and bundler for your TS/JS Project. Should you consider it?

0
MWmainawycliffe.dev

Interesting, never thought too much of the difference between the two, but this is 💯 correct.

0
MWmainawycliffe.dev

An alternative to NPM? JSR built by the Deno is a registry for JS and TS meant to offer a great user experience for publishers and users and is secure by default. The following article goes over the details of how it was built. deno.com/blog/how-we-...

0
MW
Maina Wycliffe
@mainawycliffe.dev
Author of All Things Typescript newsletter ✉️ Newsletter bit.ly/3rFYy9s
45 followers87 following35 posts