TypeScript NPM Packages Done Right

blog.liblab.com
typescript-npm-packages-done-right

Publishing packages to NPM is not a particularly difficult challenge by itself. However, configuring your TypeScript project for success might be. Will your package work on most projects? Will the users have type-hinting and autocompletion? Will it work with ES … Read more

TypeScript Is Surprisingly OK for Compilers

matklad.github.io

There are two main historical trends when choosing an implementation language for something compiler-shaped. For more language-centric tasks, like a formal specification, or a toy hobby language, OCaml makes most sense. See, for example, plzoo or WebAssembly reference interpreter. For … Read more

TypeScript Book

github.com
typescript-book

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time.

TypeScript please give us types

github.com
typescript-please-give-us-types

{{ message }} This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. You can’t perform that action at this time.

TypeScript 5.2’s New Keyword: ‘using’

totaltypescript.com
typescript-5.2’s-new-keyword:-‘using’

TypeScript 5.2 will introduce a new keyword – ‘using’ – that you can use to dispose of anything with a Symbol.dispose function when it leaves scope. typescript{ const getResource = () => { return { [Symbol.dispose]: () => { console.log(‘Hooray!’) … Read more

TypeScript 5.0

devblogs.microsoft.com
typescript-5.0

March 16th, 2023 Today we’re excited to announce the release of TypeScript 5.0! This release brings many new features, while aiming to make TypeScript smaller, simpler, and faster. We’ve implemented the new decorators standard, added functionality to better support ESM … Read more

Tyty: A TypeScript type checker in Rust

zackoverflow.dev
tyty:-a-typescript-type-checker-in-rust

In the past I’ve written about Typescript’s biggest underlying problem: it’s slow compilation speeds. Amazing projects like esbuild, SWC, and bun solve the first half of the problem, emitting JS from TS, but they skip the critical type-checking phase completely … Read more

From TypeScript to ReScript

greyblake.com

2022-01-12 About three weeks ago I decided to completely rewrite the frontend of Inhyped.com from TypeScript to ReScript. In this article, I’d like to share my experience and learnings. You can see my tweets regarding the rewriting, they’re marked with … Read more