Skip to content

Commit 177cb40

Browse files
authored
Merge pull request #2390 from Joel-Levi/patch-1
Added types to exports in package.json
2 parents 4c3bc79 + 048fe6f commit 177cb40

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.changeset/cyan-days-buy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@web/test-runner-visual-regression": patch
3+
---
4+
5+
Added types to exports in package.json

packages/test-runner-visual-regression/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@
1515
"homepage": "https://github.com/modernweb-dev/web/tree/master/packages/test-runner-visual-regression",
1616
"main": "browser/commands.mjs",
1717
"exports": {
18-
".": "./browser/commands.mjs",
18+
".": {
19+
"import": "./browser/commands.mjs",
20+
"types": "./index.d.ts"
21+
},
1922
"./plugin": {
2023
"import": "./plugin.mjs",
21-
"require": "./dist/index.js"
24+
"require": "./dist/index.js",
25+
"types": "./plugin.d.ts"
2226
}
2327
},
2428
"engines": {

0 commit comments

Comments
 (0)