{"id":16345423,"url":"https://github.com/unclechu/typescript-dependent-types-experiment","last_synced_at":"2025-11-07T14:30:31.471Z","repository":{"id":66007015,"uuid":"336778505","full_name":"unclechu/typescript-dependent-types-experiment","owner":"unclechu","description":"An experiment of dependent types in TypeScript","archived":false,"fork":false,"pushed_at":"2021-02-11T14:40:24.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T22:21:32.304Z","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/unclechu.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}},"created_at":"2021-02-07T12:14:01.000Z","updated_at":"2021-02-11T14:40:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"78b6dae9-bdd9-46df-9130-a1ca1f2af1ba","html_url":"https://github.com/unclechu/typescript-dependent-types-experiment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unclechu%2Ftypescript-dependent-types-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unclechu%2Ftypescript-dependent-types-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unclechu%2Ftypescript-dependent-types-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unclechu%2Ftypescript-dependent-types-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unclechu","download_url":"https://codeload.github.com/unclechu/typescript-dependent-types-experiment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533066,"owners_count":19654617,"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":[],"created_at":"2024-10-11T00:31:43.527Z","updated_at":"2025-11-07T14:30:31.414Z","avatar_url":"https://github.com/unclechu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"An experiment of dependent types in TypeScript.\n\n**Spoiler:** they don’t work. TypeScript is not ready for production.\n\nMake sure you have [Nix](https://nixos.org/nix/) installed in your system.\n\nRun:\n\n``` sh\n./run.sh\n```\n\n## Thanks to\n\n1. [Andrew @ponyloop](https://github.com/ponyloop)\n   who was brainstorming with me and giving good ideas\n\n2. [@m-b-davis](https://github.com/m-b-davis) from\n   [TypeScript chat](https://app.element.io/#/room/#typescript:matrix.org/$161270868411548KHNMQ:gitter.im)\n   for fixing one of the problems\n   (inferring response type after a call of `dbQuery`)\n\n3. [@jcalz](https://github.com/jcalz)\n   for his idea with `T[K]` hack on [Stack Overflow](https://stackoverflow.com/a/66127276)\n\n## See also\n\nA question on Stack Overflow:\nhttps://stackoverflow.com/questions/66119146/typescript-how-to-make-generic-type-to-infer-inside-a-function\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funclechu%2Ftypescript-dependent-types-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funclechu%2Ftypescript-dependent-types-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funclechu%2Ftypescript-dependent-types-experiment/lists"}