-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OLVectorLayer Type bug #15356
Comments
This should have been fixed with #15338 already. Please |
Verified, thanks! |
Hello, i've made the following code :
This code returns FeatureLike | RenderFeature[] | undefined. When i try to add theses FeatureLike | RenderFeature[] to a layer, i have a type error :
"Argument of type 'FeatureLike | RenderFeature[]' is not assignable to parameter of type 'Feature'. Any idea ? (btw the code is still working) |
This will be fixed with #15379 |
Describe the bug
Typescript bug introduced in
8.2.0
, using Typescript version5.3.2
To Reproduce
Steps to reproduce the behavior:
OLVectorLayer
usingsource
from step 1:Expected behavior
A
VectorSource
from GeoJSON should be able to be supplied toOLVectorLayer
without compilation errors.The text was updated successfully, but these errors were encountered: