Skip to content

Commit

Permalink
Add type exports for subpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Feb 6, 2025
1 parent f60ff73 commit 9dedeb4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@
"import": "./dist/mapbox-legacy/index.js"
}
},
"typesVersions": {
"*": {
"mapbox": [
"./dist/mapbox.d.ts"
],
"maplibre": [
"./dist/maplibre.d.ts"
],
"mapbox-legacy": [
"./dist/mapbox-legacy/index.d.ts"
]
}
},
"files": [
"src",
"dist",
Expand Down

0 comments on commit 9dedeb4

Please sign in to comment.