Closed dev-z closed 3 months ago
Hello @dev-z , thanks for letting us know. I'll try to fix it asap
Hey @dev-z , thanks for your patience. the issue should be fixed with version v2.2.1 which is just pushed on NPM. Let me know if there are still any issues with type export.
@jonathanlurie Works like a charm. Thank you.
maptiler-sdk-js version: https://github.com/maptiler/maptiler-sdk-js/releases/tag/v2.2.0
Bug Description:
LngLat
is not available as a type to import from@maptiler/sdk
anymoreProblem
Types are not properly exported from the SDK.
Solution
It is fixed if there is a
type LngLat = InstanceType<typeof LngLat>;
being exported from maptiler SDK, like its previous versions.