{"repo":"mattpocock/ts-reset","free":true,"listed":false,"github":"https://github.com/mattpocock/ts-reset","clone":"git clone https://github.com/mattpocock/ts-reset.git","description":"A 'CSS reset' for TypeScript, improving types for common JavaScript API's","language":"TypeScript","stars":8580,"topics":["reset","typescript"],"license":"MIT","category":"dev-tools","readme_excerpt":"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","default_branch":null,"files":null,"tree":[],"storefront":"/r/mattpocock","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mattpocock/ts-reset/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}