Skip to content

Commit

Permalink
Merge pull request #421 from dwightjack/fix/types
Browse files Browse the repository at this point in the history
Fix missing types in export
  • Loading branch information
dwightjack authored Jul 26, 2023
2 parents 2c1eb4e + 86a492c commit ad43efd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-moose-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vue-types': patch
---

The `exports` declarations in package.json were missing the `type` subpath. See #419
2 changes: 2 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
"esmodule": "dist/vue-types.modern.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/vue-types.cjs",
"import": "./dist/vue-types.modern.js"
},
"./shim": {
"types": "./dist/shim.d.ts",
"require": "./shim/index.cjs.js",
"import": "./shim/index.modern.js"
}
Expand Down

0 comments on commit ad43efd

Please sign in to comment.