Skip to content

Commit

Permalink
fix export order for typescript #267
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Oct 7, 2022
1 parent 6a57a2f commit 4b7cef7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 6.1.8

- fix export order for typescript [267](https://github.com/i18next/i18next-browser-languageDetector/issues/267)

### 6.1.7

- Types entries missing in package exports (Needed for Typescript >= 4.7 and moduleResolution="Node16"/"Nodenext") [266](https://github.com/i18next/i18next-browser-languageDetector/issues/266)
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"exports": {
"./package.json": "./package.json",
".": {
"types": "./index.d.ts",
"require": "./dist/cjs/i18nextBrowserLanguageDetector.js",
"default": "./dist/esm/i18nextBrowserLanguageDetector.js",
"types": "./index.d.ts"
"default": "./dist/esm/i18nextBrowserLanguageDetector.js"
},
"./cjs": {
"default": "./dist/cjs/i18nextBrowserLanguageDetector.js",
"types": "./index.d.ts"
"types": "./index.d.ts",
"default": "./dist/cjs/i18nextBrowserLanguageDetector.js"
},
"./esm": {
"default": "./dist/esm/i18nextBrowserLanguageDetector.js",
"types": "./index.d.ts"
"types": "./index.d.ts",
"default": "./dist/esm/i18nextBrowserLanguageDetector.js"
}
},
"keywords": [
Expand Down

0 comments on commit 4b7cef7

Please sign in to comment.