[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71312":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},71312,"ts-reset","mattpocock\u002Fts-reset","mattpocock","A 'CSS reset' for TypeScript, improving types for common JavaScript API's","https:\u002F\u002Fwww.totaltypescript.com\u002Fts-reset",null,"TypeScript",8523,136,17,35,0,3,9,38,37.41,"MIT License",false,"main",true,[26,27],"reset","typescript","2026-06-12 02:02:50","![TS Reset - Improved TypeScript's Built-in Typings](https:\u002F\u002Fraw.githubusercontent.com\u002Fmattpocock\u002Fts-reset\u002Fmain\u002Fog-image.png)\n\n**Without `ts-reset`**:\n\n- 🚨 `.json` (in `fetch`) and `JSON.parse` both return `any`\n- 🤦 `.filter(Boolean)` doesn't behave how you expect\n- 😡 `array.includes` often breaks on readonly arrays\n\n`ts-reset` smooths over these hard edges, just like a CSS reset does in the browser.\n\n**With `ts-reset`**:\n\n- 👍 `.json` (in `fetch`) and `JSON.parse` both return `unknown`\n- ✅ `.filter(Boolean)` behaves EXACTLY how you expect\n- 🥹 `array.includes` is widened to be more ergonomic\n- 🚀 And several more changes!\n\n## Official Docs\n\nCheck out our docs page on [Total TypeScript](https:\u002F\u002Ftotaltypescript.com\u002Fts-reset)\n","`ts-reset` 是一个针对 TypeScript 的类型重置库，旨在改进常用 JavaScript API 的类型定义。其核心功能包括优化 `fetch` 和 `JSON.parse` 的返回类型为 `unknown` 而非 `any`，确保 `.filter(Boolean)` 按预期工作，以及增强 `array.includes` 在只读数组中的兼容性等。通过这些改进，`ts-reset` 使得 TypeScript 代码更加安全和可预测，类似于 CSS 重置在浏览器中对样式的影响。该项目适用于希望提升 TypeScript 类型系统准确性和一致性的开发者，在处理复杂应用或库时尤为有用。",2,"2026-06-11 03:37:08","high_star"]