{"id":29101856,"url":"https://github.com/tyilo/ts-unsoundness","last_synced_at":"2026-02-19T13:03:01.412Z","repository":{"id":279455654,"uuid":"938857170","full_name":"tyilo/ts-unsoundness","owner":"tyilo","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-27T11:38:50.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T16:59:55.828Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyilo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-25T16:00:43.000Z","updated_at":"2025-02-27T11:38:54.000Z","dependencies_parsed_at":"2025-10-19T06:21:39.148Z","dependency_job_id":"4397708a-5b1b-44ae-afa5-5a52f8f71a1b","html_url":"https://github.com/tyilo/ts-unsoundness","commit_stats":null,"previous_names":["tyilo/ts-unsoundness"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyilo/ts-unsoundness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fts-unsoundness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fts-unsoundness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fts-unsoundness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fts-unsoundness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyilo","download_url":"https://codeload.github.com/tyilo/ts-unsoundness/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fts-unsoundness/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29614592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-06-28T21:08:33.596Z","updated_at":"2026-02-19T13:03:01.394Z","avatar_url":"https://github.com/tyilo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-unsoundness\n\nExamples of why TypeScript's type system is not sound.\n\nAll of the examples manages to produce a value at runtime which TypeScript thinks has the type [`never`](https://www.typescriptlang.org/docs/handbook/2/functions.html#never). This shouldn't be possible.\n\nThey then call the function `contradiction` from [src/util/index.ts](src/util/index.ts) which is defined something like:\n\n```typescript\nfunction contradiction(v: never) {\n  console.log(`Got a value with type never!`);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyilo%2Fts-unsoundness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyilo%2Fts-unsoundness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyilo%2Fts-unsoundness/lists"}