Rust Port of TypeScript (Tsc)

github.com
rust-port-of-typescript-(tsc)

I wanted to see if LLMs could port the TypeScript compiler, checker and lsp to Rust. Turns out they can. It cost over $420,000 in tokens to do it, but you could probably have done it for ~$20k (see below) … Read more

Make Any TypeScript Function Durable

useworkflow.dev
make-any-typescript-function-durable

export async function welcome(userId: string) { “use workflow”; const user = await getUser(userId); const { subject, body } = await generateEmail({ name: user.name, plan: user.plan }); const { status } = await sendEmail({ to: user.email, subject, body, }); return { … Read more

An Ode to TypeScript Enums

blog.disintegrator.dev
an-ode-to-typescript-enums

It’s official, folks. TypeScript 5.8 is out bringing with it the –erasableSyntaxOnly flag and the nail in the coffin for many of the near-primordial language features like Enums and Namespaces. Node.js v23 joined Deno and Bun in adding support for … Read more

TypeScript: Branded Types

prosopo.io

PART 1: TypeScript Mapped Type Magic Ahoy there TypeScript warriors! 👋 Today we’re extending our work in the TypeScript mapped types article to provide branding. The previous article discussed how to use TypeScript mapped types in a nominal rather than … Read more