Skip to content

Commit

Permalink
Ensure types are declared first in exports field (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Sep 18, 2023
1 parent df33f22 commit a6c21d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-humans-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"dom-accessibility-api": patch
---

Ensure types are declared first in `exports` field
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"module": "dist/index.mjs",
"type": "commonjs",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"require": "./dist/index.js"
},
"license": "MIT",
"repository": {
Expand Down

0 comments on commit a6c21d5

Please sign in to comment.