Skip to content

Commit 0128d16

Browse files
hiebjeps1lon
andauthored
Add explicit typings location to support use in TypeScript ESM modules (#978)
* Add explicit typings location to support use in TypeScript ESM modules * Create tame-ravens-whisper.md --------- Co-authored-by: Sebastian Silbermann <[email protected]>
1 parent 668d5aa commit 0128d16

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/tame-ravens-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"dom-accessibility-api": patch
3+
---
4+
5+
Add explicit typings location to support use in TypeScript ESM modules

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"type": "commonjs",
88
"exports": {
99
"import": "./dist/index.mjs",
10-
"require": "./dist/index.js"
10+
"require": "./dist/index.js",
11+
"types": "./dist/index.d.ts"
1112
},
1213
"license": "MIT",
1314
"repository": {

0 commit comments

Comments
 (0)