{"id":16451521,"url":"https://github.com/pauldraper/ts-infer-import","last_synced_at":"2025-06-27T17:33:17.225Z","repository":{"id":67767692,"uuid":"205893900","full_name":"pauldraper/ts-infer-import","owner":"pauldraper","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-02T18:41:33.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T07:35:29.485Z","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/pauldraper.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-09-02T16:15:47.000Z","updated_at":"2020-02-14T11:08:03.000Z","dependencies_parsed_at":"2023-06-03T15:45:12.986Z","dependency_job_id":null,"html_url":"https://github.com/pauldraper/ts-infer-import","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/pauldraper%2Fts-infer-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldraper%2Fts-infer-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldraper%2Fts-infer-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldraper%2Fts-infer-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pauldraper","download_url":"https://codeload.github.com/pauldraper/ts-infer-import/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240876862,"owners_count":19871903,"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-11T10:09:08.196Z","updated_at":"2025-02-26T15:14:09.537Z","avatar_url":"https://github.com/pauldraper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TS Infer Import \n\n## TypeScript 3.1\n\n```sh\nnode node_modules/typescript-3.1/lib/tsc.js -p example\n```\n\nSucceeds.\n\n## TypeScript 3.4\n\n```sh\nnode node_modules/typescript-3.4/lib/tsc.js -p example\n```\n\nErrors.\n\n```\nexample/example.ts:3:14 - error TS2742: The inferred type of 'example' cannot be named without a reference to '../external/node_modules/example-lib'. This is likely not portable. A type annotation is necessary.\n\n3 export const example = exampleLib();\n               ~~~~~~~\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauldraper%2Fts-infer-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpauldraper%2Fts-infer-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauldraper%2Fts-infer-import/lists"}