- Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I have an Interactions.OlInteractionSelect with a filter. In an older version (2.0.1), it was allowing the feature to pass like below:
const selectInteactionFilter = (feature:any) => { return feature.values_.name !== undefined; }; After upgrading, I'm getting the following error:
Type '(feature: any) => boolean' is not assignable to type '() => boolean'.
on OlInteractionSelect.vue.d.ts(23, 5), this is how the filter is defined:
filter?: (() => boolean) | undefined;
Shouldn't the definition include passing a filter argument through to the function?
├── vue@3.3.4
└── vue3-openlayers@10.0.2
It's happening in VSCode, not related to OS or Browser, but I'm using:
- OS: Manjaro Linux
- Firefox & Chromium
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working