{"id":15495076,"url":"https://github.com/samchon/report-comment-compile-error","last_synced_at":"2025-08-01T20:41:31.818Z","repository":{"id":75053537,"uuid":"605222419","full_name":"samchon/report-comment-compile-error","owner":"samchon","description":"Special error from comments by TypeScript or Ts-Node","archived":false,"fork":false,"pushed_at":"2023-02-22T18:07:34.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-21T21:24:20.370Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samchon.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-22T17:52:16.000Z","updated_at":"2023-02-22T17:56:35.000Z","dependencies_parsed_at":"2023-02-26T15:45:47.051Z","dependency_job_id":null,"html_url":"https://github.com/samchon/report-comment-compile-error","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"d57c0d92abc8fe8b70e71b4bd6e3502793d31f19"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samchon/report-comment-compile-error","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Freport-comment-compile-error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Freport-comment-compile-error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Freport-comment-compile-error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Freport-comment-compile-error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samchon","download_url":"https://codeload.github.com/samchon/report-comment-compile-error/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Freport-comment-compile-error/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268293696,"owners_count":24227529,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-10-02T08:16:00.774Z","updated_at":"2025-08-01T20:41:31.651Z","avatar_url":"https://github.com/samchon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Error Report\n![Bug](images/bug.png)\n\n```bash\nnpm install\nnpm run build\nnpm run test\n```\n\nRun above commands, then you may meet amazing bug.\n\nTypeScript tries to compile `@link` tagged comments, and occurs error.\n\nThe error occured when there's an interface that declared namespace with same name, and imports another type in the namespace. Also, the error occurs only when importing TypeScript file (`await import(\"file\")` statement) after composing `ts.createProgram()` with `ts-node`.\n\nI can't sure that this is a bug of TypeScript or `ts-node`. Therefore, I report this issue both in TypeScript and `ts-node`.\n\n```typescript\nimport { IBbsArticleSnapshot } from \"./IBbsArticleSnapshot\";\nimport { IBbsComment } from \"./IBbsComment\";\n\n/**\n * Article of BBS.\n * \n * Note that, main content of article is stored in {@link snapshots} property.\n * The {@link IBbsArticleSnapshot} records would be accumulated whenever updating\n * current article. It is to keep the history of article.\n * \n * In the same reason, {@link IBbsComment} also stores {@link IBbsCommentSnapshot} \n * records whenever update it.\n * \n * -------------------------------------------\n * \n * Let's link that never exists\n * \n *   - {@link NeverExistDto}\n *   - {@link Nothing}\n *   - {@link NoWhere}\n *   - {@link NoOne}\n * \n * @author Samchon\n */\nexport interface IBbsArticle {\n    ...\n}\nexport namespace IBbsArticle {\n    export namespace Comment {\n        // IMPORT STATEMENT OCCURS THE BUG\n        export import IStore = IBbsComment.IStore;\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Freport-comment-compile-error","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamchon%2Freport-comment-compile-error","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Freport-comment-compile-error/lists"}