Skip to content

Commit

Permalink
fix: type definitions for exported astro components
Browse files Browse the repository at this point in the history
fixes #18
  • Loading branch information
MellKam authored and yassinedoghri committed Aug 27, 2022
1 parent 4407955 commit bb60949
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,17 @@
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./components": "./dist/components/index.d.mts"
"./components": "./dist/components/index.js"
},
"typesVersions": {
"*": {
"index": [
"./dist/index.d.ts"
],
"components": [
"./dist/components/index.d.mts"
]
}
},
"bin": {
"astro-i18next": "./dist/cli/index.js"
Expand Down

0 comments on commit bb60949

Please sign in to comment.