Baike.dev
All toolsOnline 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 likes1 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· 54 open

View all issuesOpen on GitHub
  • #240

    0.7.0 release

    Updated Sep 24, 2026
  • #241

    Add docs for integrating with AGENTS.md

    Updated Jul 21, 2026
  • #194

    1.0 release

    Updated May 10, 2026
  • #235

    Make `dateObject.toISOString().split("T")[0]` return `string` instead of `string | undefined`

    Updated May 7, 2026
  • #217

    undocumented features

    Updated Apr 1, 2026
  • #178

    custom filter callback not inferred when rule applied

    bugneeds-triageUpdated Apr 1, 2026
  • #168

    `.filter()` can't handle union of arrays

    bugneeds-triageUpdated Apr 1, 2026
  • #111

    Array#includes overload doesn't work on arrays over generic types (`T[]`)

    bugneeds-triageUpdated Apr 1, 2026
  • #48

    Array.isArray problem with narrowed type

    bugneeds-triageUpdated Apr 1, 2026
  • #100

    Array `.at()` on readonly tuples

    enhancementneeds-triageUpdated Apr 1, 2026

> Tags

TypeScriptresettypescript

No comments yet. Be the first to share.

> Details

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

> Related tools

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