Skip to content

Commit a509259

Browse files
committed
chore: update package.json exports to include TypeScript types
1 parent 0bd8072 commit a509259

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"description": "Mock implementation of the Next.js Router",
55
"main": "dist/index",
66
"exports": {
7-
".": "./dist",
7+
".": {
8+
"types": "./dist/index.d.ts",
9+
"default": "./dist"
10+
},
811
"./*": "./dist/*",
912
"./package.json": "./package.json"
1013
},

0 commit comments

Comments
 (0)