Replies: 1 comment
-
|
We don't export every type because then we'd have to figure out good name for this. You have those options: 1.) let type inference work: typescript will figure out the type of feature. You don't need to declare the type. 2.) Use type utilities to extract the type: 3.) File a bug/feature request explaining why 1.) and 2.) doesn't work/inconvinient for you, and ask for an export |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking at the source code -
Is there a way to get PointFeature or get the RegionPayload when using the library with Typescript. At the moment I'm just using :any.
Beta Was this translation helpful? Give feedback.
All reactions