Menu

1 / 3

Try tsrs without replacing your TypeScript build

DEV Community: rust·Shivam Dwivedi·about 20 hours ago
#Q7VTozZW
#devtorust#devto#dev#fullscreen#tsrs
Reading 0:00
15s threshold

The new Rust port of TypeScript caught my deliberate type error. The setup surprise was more ordinary: tsrs --init doesn't work. 😅

I installed the published package, checked an imported function, broke its caller, then repaired it. Here's the small, disposable project I used. You can try the checker without changing your app's build.

Recorded command output, typeset for readability. This checks a tiny fixture; it isn't a speed comparison.

Cloudflare and VoidZero announced their collaboration on tsrs on 20 October. It's a Rust port intended to follow TypeScript's language behavior, incubated in Oxc. The announcement calls the npm release experimental. [1]

Give it a disposable project 🧪

You'll need Node.js and npm, plus a platform supported by the package's native binary. My run used Node 22.22.1 and npm 10.9.4 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.