Skip to content

Commit

Permalink
Resolve Typescript import errors, Fixes #23 (#24)
Browse files Browse the repository at this point in the history
* add types to export

* added changeset
  • Loading branch information
brandonfcohen1 authored Mar 21, 2024
1 parent de661ee commit aca1d0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/olive-bikes-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@watergis/maplibre-gl-legend": patch
---

export types in package json
3 changes: 2 additions & 1 deletion packages/maplibre-gl-legend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"exports": {
".": {
"import": "./dist/maplibre-gl-legend.es.js",
"require": "./dist/maplibre-gl-legend.umd.js"
"require": "./dist/maplibre-gl-legend.umd.js",
"types": "./dist/types/index.d.ts"
},
"./dist/maplibre-gl-legend.css": {
"import": "./dist/maplibre-gl-legend.css",
Expand Down

0 comments on commit aca1d0b

Please sign in to comment.