Skip to content

Commit

Permalink
fix: export ts types from detect-locale (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavami authored Aug 10, 2023
1 parent c36c034 commit 4af4448
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/detect-locale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@
},
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"./package.json": "./package.json"
},
Expand Down

1 comment on commit 4af4448

@vercel
Copy link

@vercel vercel bot commented on 4af4448 Aug 10, 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.