Skip to content

Commit

Permalink
Merge pull request #889 from SergeAstapov/master
Browse files Browse the repository at this point in the history
Update exports so TypeScript loads ambient types
  • Loading branch information
BobrImperator committed Jan 8, 2024
2 parents 36d6497 + ea1ed34 commit a49e9c5
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions packages/ember-cookies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,27 @@
"author": "",
"types": "./index.d.ts",
"exports": {
".": "./dist/index.js",
"./*": "./dist/*",
"./test-support": "./dist/test-support/index.js",
".": {
"types": "./index.d.ts",
"default": "./dist/index.js"
},
"./*": {
"types": "./index.d.ts",
"default": "./dist/*"
},
"./test-support": {
"types": "./index.d.ts",
"default": "./dist/test-support/index.js"
},
"./addon-main.js": "./addon-main.js"
},
"typesVersions": {
"*": {
"*": [
"./index.d.ts"
]
}
},
"directories": {
"doc": "doc",
"test": "tests"
Expand Down

0 comments on commit a49e9c5

Please sign in to comment.