{"id":15980650,"url":"https://github.com/drwpow/vue-esm-types","last_synced_at":"2025-04-04T18:44:48.891Z","repository":{"id":66331343,"uuid":"208715358","full_name":"drwpow/vue-esm-types","owner":"drwpow","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-16T05:22:47.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T04:17:33.600Z","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/drwpow.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-16T05:16:39.000Z","updated_at":"2019-09-16T05:22:49.000Z","dependencies_parsed_at":"2023-02-20T19:45:43.471Z","dependency_job_id":null,"html_url":"https://github.com/drwpow/vue-esm-types","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"6a4825402ed15dd820b62f782dc7fab1eb58ee08"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fvue-esm-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fvue-esm-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fvue-esm-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2Fvue-esm-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drwpow","download_url":"https://codeload.github.com/drwpow/vue-esm-types/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234850,"owners_count":20905852,"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-08T00:21:33.957Z","updated_at":"2025-04-04T18:44:48.867Z","avatar_url":"https://github.com/drwpow.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-esm-types\n\nSimple recreation of a problem where Vue.js alternate builds (such as the ESM\nbuild) don’t properly expose types to TypeScript.\n\nTo recreate, run:\n\n```bash\nnpm i\nnpm run build\n```\n\nYou should see the following error:\n\n```\nCould not find a declaration file for module 'vue/dist/vue.esm.browser'. '../node_modules/vue/dist/vue.esm.browser.js' implicitly has an 'any' type.\n  Try `npm install @types/vue` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue/dist/vue.esm.browser';`\n```\n\nTry swapping out the import with the commented-out one, and it will build\nperfectly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fvue-esm-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrwpow%2Fvue-esm-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fvue-esm-types/lists"}