You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently migrating my react mapkit library to typescript from flow and I'm trying to use your typings instead of the flow typings I had written originally.
One thing that I'm not sure about the best way to handle is the constants provided by mapkit (map type, or FeatureVisibility as examples).
I could change these to just be normal strings but if possible a user should be required to pass in something like mapkit.FeatureVisibility.Adaptive? I'm fairly new to typescript so any suggestions are super helpful!
The text was updated successfully, but these errors were encountered:
I'm currently migrating my react mapkit library to typescript from flow and I'm trying to use your typings instead of the flow typings I had written originally.
One thing that I'm not sure about the best way to handle is the constants provided by mapkit (map type, or FeatureVisibility as examples).
I could change these to just be normal strings but if possible a user should be required to pass in something like
mapkit.FeatureVisibility.Adaptive
? I'm fairly new to typescript so any suggestions are super helpful!The text was updated successfully, but these errors were encountered: