Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

ts-reset

> 编程语言
Open source

A 'CSS reset' for TypeScript, improving types for common JavaScript API's

8.6K stars0 likes0 views
WebsiteGitHub

About

A 'CSS reset' for TypeScript, improving types for common JavaScript API's

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptresettypescript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言