As per the title, for typing for projection prop on the Map component seems to be incorrect. In the example below i'm trying to use the globe but I'm getting a TypeScript error. However it works fine on the frontend.
Other suported options also return TS error e.g albers, equalEarth etc.
Expected Behavior
There should not be a typescript error
Steps to Reproduce
Put this component in a React / Typescript project. I'm using vite:
Description
As per the title, for typing for
projection
prop on theMap
component seems to be incorrect. In the example below i'm trying to use theglobe
but I'm getting a TypeScript error. However it works fine on the frontend.Other suported options also return TS error e.g
albers
,equalEarth
etc.Expected Behavior
There should not be a typescript error
Steps to Reproduce
Put this component in a React / Typescript project. I'm using vite:
my package,.json
Environment
Logs
No response