Skip to content

Commit

Permalink
fix: Add type information to exports.* in package.json (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotboris authored Sep 9, 2023
1 parent 12321b7 commit aac38c9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"types": "dist/index.d.ts",
"repository": "git@github.com:reconbot/streaming-iterables.git",
Expand Down

0 comments on commit aac38c9

Please # to comment.