Describe the bug
Type definitions not being resolved when importing module:
Could not find a declaration file for module '@watergis/maplibre-gl-legend'. '/Users/brandoncohen/Documents/dev/vacant-lots-proj/node_modules/@watergis/maplibre-gl-legend/dist/maplibre-gl-legend.es.js' implicitly has an 'any' type.
There are types at '/Users/brandoncohen/Documents/dev/vacant-lots-proj/node_modules/@watergis/maplibre-gl-legend/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@watergis/maplibre-gl-legend' library may need to update its package.json or typings.ts(7016)
To Reproduce
Steps to reproduce the behavior:
Import package using import { MaplibreLegendControl } from "@watergis/maplibre-gl-legend";
See TS error in Code Editor
Expected behavior
Types should be properly exported from package
Screenshots
Desktop (please complete the following information):
Describe the bug Type definitions not being resolved when importing module:
To Reproduce Steps to reproduce the behavior:
import { MaplibreLegendControl } from "@watergis/maplibre-gl-legend";
Expected behavior Types should be properly exported from package
Screenshots![image](https://github.com/watergis/maplibre-gl-legend/assets/2308834/452705dd-34f2-4263-969f-cf97e9d50865)
Desktop (please complete the following information):