readme.md
October 22, 2024 ยท View on GitHub

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!
Official Docs
Check out our docs page on Total TypeScript