Skip to content

Commit

Permalink
Add: types path to package exports
Browse files Browse the repository at this point in the history
Merge pull request #31 from polerin/AddTypesToExports
  • Loading branch information
vovaspace authored Feb 6, 2023
2 parents 08a4748 + c2e5e1b commit 058a9d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/brandi-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
"import": "./lib/brandi-react.mjs",
"require": "./lib/brandi-react.js",
"default": "./lib/brandi-react.js"
"default": "./lib/brandi-react.js",
"types": "./lib/typings/index.d.ts"
},
"typings": "./lib/typings/index.d.ts",
"sideEffects": false,
Expand Down
3 changes: 2 additions & 1 deletion packages/brandi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
"import": "./lib/brandi.mjs",
"require": "./lib/brandi.js",
"default": "./lib/brandi.js"
"default": "./lib/brandi.js",
"types": "./lib/typings/index.d.ts"
},
"typings": "./lib/typings/index.d.ts",
"files": [
Expand Down

1 comment on commit 058a9d3

@vercel
Copy link

@vercel vercel bot commented on 058a9d3 Feb 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.