Experiment: making TypeScript immutable-by-default

· Evan Hahn · Nov. 18, 2025, 2 p.m.
Summary
The blog post explores the author's experiment to make TypeScript values immutable by default, similar to Rust, without altering TypeScript itself. The author shares their progress in achieving immutability for arrays and records but faces challenges with regular objects. The post highlights the steps taken, issues encountered, and encourages readers to contribute solutions for making plain objects immutable.
AUTHOR
BLOG POST FEATURED ON

Add this plugin to your blog