ts-reset
by mattpocock · Web
A 'CSS reset' for TypeScript, improving types for common JavaScript API's
★ New0 ratings8,606 stars● Active
WebDeveloper ToolTypeScriptreset
About this project
Without ts-reset: — 🚨 .json (in fetch) and JSON.parse both return any — 🤦 .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 (in fetch) and JSON.parse both return unknown — ✅ .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
Technologies
TypeScriptreset
Project health
● Low recent activity
Last update5 months ago
Contributors10
Latest releasev0.4.2
Open issues & PRs54
LicenseMIT
On GitHubsince 2023
GitHub
8,606
stars
147
forks
10
contributors
54
open issues & PRs
TypeScript
language
5 months ago
last commit
Reviews
No reviews yet
Be the first to review ts-reset.
Built by
mattpocock
Imported from GitHub · not yet claimed on GitPalace
Maintain mattpocock/ts-reset? Claiming verifies admin access through your GitHub account and gives you control of this listing.
