{"id":15375872,"url":"https://github.com/rictic/tsc_hang_from_if_statements","last_synced_at":"2026-05-12T19:42:19.450Z","repository":{"id":66372129,"uuid":"187934290","full_name":"rictic/tsc_hang_from_if_statements","owner":"rictic","description":"A repro of a TypeScript compiler issue with many nested if statements","archived":false,"fork":false,"pushed_at":"2019-05-22T00:40:43.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T16:42:17.427Z","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/rictic.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":"2019-05-22T00:37:58.000Z","updated_at":"2019-05-22T00:40:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d9e07f4-abe5-4ba5-b4d0-a373f55561a9","html_url":"https://github.com/rictic/tsc_hang_from_if_statements","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"b72fbf4596b29f25f5e951710303ede12893dbf9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Ftsc_hang_from_if_statements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Ftsc_hang_from_if_statements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Ftsc_hang_from_if_statements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Ftsc_hang_from_if_statements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rictic","download_url":"https://codeload.github.com/rictic/tsc_hang_from_if_statements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241645645,"owners_count":19996425,"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-01T14:05:09.278Z","updated_at":"2026-05-12T19:42:17.648Z","avatar_url":"https://github.com/rictic.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repo demonstrates a class of TypeScript program that appears to hang the TypeScript compiler (100% CPU usage for an extended period of time).\n\nAs a result, opening example_repro.ts in your text editor may cause it to consume a lot of resources.\n\n## To repro\n\n`tsc example_repro.ts --noEmit`\n\nOr run:\n\n```bash\nnpm install\nnpm run hang_typescript\n```\n\nA program to generate new examples of this pattern is provided at gen_repro.js.\n`npm run generate` will write a new example to example_repro.ts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frictic%2Ftsc_hang_from_if_statements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frictic%2Ftsc_hang_from_if_statements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frictic%2Ftsc_hang_from_if_statements/lists"}