Skip to content

Commit

Permalink
fix(module): add types to module exports
Browse files Browse the repository at this point in the history
  • Loading branch information
glebmxyz committed Jan 27, 2024
1 parent 8b03635 commit 7c9c6ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Email parser for browser environments",
"main": "./src/postal-mime.js",
"exports": {
"import": "./src/postal-mime.js"
"import": "./src/postal-mime.js",
"types": "./postal-mime.d.ts"
},
"type": "module",
"types": "postal-mime.d.ts",
Expand Down

0 comments on commit 7c9c6ea

Please sign in to comment.