Without ts-reset:
- 🚨 .json(infetch) andJSON.parseboth returnany
- 🤦 .filter(Boolean)doesn't behave how you expect
- 😡 array.includesoften breaks on readonly arrays
ts-reset smooths over these hard edges, just like a CSS reset does in the browser.
With ts-reset:
- 👍 .json(infetch) andJSON.parseboth returnunknown
- ✅ .filter(Boolean)behaves EXACTLY how you expect
- 🥹 array.includesis widened to be more ergonomic
- 🚀 And several more changes!
Check out our docs page on Total TypeScript
