{"id":14341865,"url":"https://github.com/mattpocock/ts-reset","last_synced_at":"2025-05-14T07:08:23.064Z","repository":{"id":65995483,"uuid":"603761805","full_name":"mattpocock/ts-reset","owner":"mattpocock","description":"A 'CSS reset' for TypeScript, improving types for common JavaScript API's","archived":false,"fork":false,"pushed_at":"2024-10-22T07:42:41.000Z","size":310,"stargazers_count":8134,"open_issues_count":58,"forks_count":125,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-05-12T00:36:43.616Z","etag":null,"topics":["reset","typescript"],"latest_commit_sha":null,"homepage":"https://www.totaltypescript.com/ts-reset","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattpocock.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-02-19T14:01:18.000Z","updated_at":"2025-05-11T16:14:28.000Z","dependencies_parsed_at":"2024-01-20T05:14:26.778Z","dependency_job_id":"2e7c270d-8b23-4832-a39b-21681029eb2a","html_url":"https://github.com/mattpocock/ts-reset","commit_stats":{"total_commits":75,"total_committers":5,"mean_commits":15.0,"dds":0.12,"last_synced_commit":"4d44ea0eee4709bcc0317592eb9ca157785122d4"},"previous_names":["mattpocock/ts-reset"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fts-reset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fts-reset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fts-reset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattpocock%2Fts-reset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattpocock","download_url":"https://codeload.github.com/mattpocock/ts-reset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253853575,"owners_count":21974139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reset","typescript"],"created_at":"2024-08-26T14:01:53.565Z","updated_at":"2025-05-14T07:08:23.032Z","avatar_url":"https://github.com/mattpocock.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"![TS Reset - Improved TypeScript's Built-in Typings](https://raw.githubusercontent.com/mattpocock/ts-reset/main/og-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://totaltypescript.com/ts-reset)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattpocock%2Fts-reset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattpocock%2Fts-reset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattpocock%2Fts-reset/lists"}