{"id":17248621,"url":"https://github.com/llgcode/js-def-issue","last_synced_at":"2025-03-26T06:22:08.139Z","repository":{"id":89971466,"uuid":"452287529","full_name":"llgcode/js-def-issue","owner":"llgcode","description":"Description of an issue when generating typecript definition files from javascript","archived":false,"fork":false,"pushed_at":"2022-01-26T13:59:26.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T07:44:38.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/llgcode.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":"2022-01-26T13:32:40.000Z","updated_at":"2022-01-26T13:59:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f17339a5-9d9a-43bf-acb5-757ac809a53a","html_url":"https://github.com/llgcode/js-def-issue","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/llgcode%2Fjs-def-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llgcode%2Fjs-def-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llgcode%2Fjs-def-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llgcode%2Fjs-def-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/llgcode","download_url":"https://codeload.github.com/llgcode/js-def-issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245599179,"owners_count":20642053,"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-15T06:41:43.326Z","updated_at":"2025-03-26T06:22:08.110Z","avatar_url":"https://github.com/llgcode.png","language":"JavaScript","readme":"# js-def-issue\n\nThis repository highlights the issue happening when generating definition files from javascript.\n\nThe javascript that raise the issue near from [ExtendedClass.js](./ExtendedClass.js)\n\nHere the error returned by typescript:\n\n```log\nExtendedClass.js:1:1 - error TS9006: Declaration emit for this file requires using private name 'BaseClass' from module '\"deps/BaseClass\"'. An explicit type annotation may unblock declaration emit.\n\n1 define(\"lib/ExtendedClass\", [\"deps/BaseClass\"],\n  ~~~~~~\n```\n\nIt seems that BaseClass cannot be reexported.\n\nThe issue is reproducible with typescript 4.5.5 and 4.6.0-beta.\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllgcode%2Fjs-def-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllgcode%2Fjs-def-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllgcode%2Fjs-def-issue/lists"}