{"id":16720373,"url":"https://github.com/tomokimiyauci/tytest","last_synced_at":"2026-05-20T02:49:09.470Z","repository":{"id":62422500,"uuid":"440519958","full_name":"TomokiMiyauci/tytest","owner":"TomokiMiyauci","description":"🃏 Deno-first type testing tools","archived":false,"fork":false,"pushed_at":"2022-01-03T14:51:33.000Z","size":538,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T14:58:28.854Z","etag":null,"topics":["deno","test","testing","tsd","types","typescript"],"latest_commit_sha":null,"homepage":"","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/TomokiMiyauci.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":"FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null},"funding":{"github":"TomokiMiyauci","patreon":"tomoki_miyauci"}},"created_at":"2021-12-21T13:06:47.000Z","updated_at":"2023-05-02T12:09:22.000Z","dependencies_parsed_at":"2022-11-01T17:33:09.545Z","dependency_job_id":null,"html_url":"https://github.com/TomokiMiyauci/tytest","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomokiMiyauci%2Ftytest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomokiMiyauci%2Ftytest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomokiMiyauci%2Ftytest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomokiMiyauci%2Ftytest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomokiMiyauci","download_url":"https://codeload.github.com/TomokiMiyauci/tytest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725527,"owners_count":20337666,"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":["deno","test","testing","tsd","types","typescript"],"created_at":"2024-10-12T22:06:53.188Z","updated_at":"2026-05-20T02:49:09.437Z","avatar_url":"https://github.com/TomokiMiyauci.png","language":"TypeScript","funding_links":["https://github.com/sponsors/TomokiMiyauci","https://patreon.com/tomoki_miyauci"],"categories":[],"sub_categories":[],"readme":"# tytest\n\nDeno-first types testing tools\n\n## What?\n\n`tytest` lets you write tests for your type definitions by creating files with\nthe `*_test.ts` extension.\n\nThis project was strongly influenced by\n[tsd](https://github.com/SamVerschueren/tsd), and our current goal is to port\ntsd to Deno.\n\n## Usage\n\nType assertions are strict. This means that if you expect the type to be `\"\"`\nbut the argument is of type `string`, the tests will fail.\n\n```ts\nimport { expectType } from \"https://deno.land/x/tytest@$VERSION/mod.ts\";\n\nexpectType\u003cstring\u003e(\"\");\n```\n\nthen,\n\n`deno run --unstable --allow-read --allow-write --allow-net https://deno.land/x/tytest@$VERSION/cli.ts`\n\n## Known Issues\n\nThe custom module resolver is not implemented, so it does not work correctly for\nremote modules. This is a priority issue.\n\nFor example, the following module will be processed as `any`.\n\n```ts\nimport { join } from \"https://deno.land/std@0.119.0/path/mod.ts\";\nimport { expectType } from \"https://deno.land/x/tytest@$VERSION/mod.ts\";\n\nexpectType\u003cstring\u003e(join(\"\"));\n```\n\n## License\n\nCopyright © 2021-present [TomokiMiyauci](https://github.com/TomokiMiyauci).\n\nReleased under the [MIT](./LICENSE) license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomokimiyauci%2Ftytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomokimiyauci%2Ftytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomokimiyauci%2Ftytest/lists"}