Skip to content

Commit b1fab1e

Browse files
authored
add types to exports
1 parent adc9884 commit b1fab1e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/prettier-plugin-java/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
"version": "2.6.0",
44
"description": "Prettier Java Plugin",
55
"type": "module",
6-
"exports": "./dist/index.js",
6+
"exports": {
7+
".": {
8+
"types": "./src/index.d.ts",
9+
"default": "./src/index.js"
10+
}
11+
},
712
"files": [
813
"dist"
914
],

0 commit comments

Comments
 (0)