0.5.1 • Published 9 months ago
@total-typescript/ts-reset v0.5.1
ts-reset
TypeScript's built-in typings are not perfect. ts-reset
makes them better.
Without ts-reset
:
- 🚨
.json
(infetch
) andJSON.parse
both returnany
- 🤦
.filter(Boolean)
doesn't behave how you expect - 😡
array.includes
often 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.parse
both returnunknown
- ✅
.filter(Boolean)
behaves EXACTLY how you expect - 🥹
array.includes
is widened to be more ergonomic - 🚀 And several more changes!
Official Docs
Check out our docs page on Total TypeScript
0.5.0
9 months ago
0.5.1
9 months ago
0.4.1
1 year ago
0.4.0
1 year ago
0.4.2
1 year ago
0.3.7
1 year ago
0.3.6
1 year ago
0.3.5
1 year ago
0.3.4
1 year ago
0.3.3
1 year ago
0.3.2
1 year ago
0.3.1
1 year ago
0.3.0
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago