Skip to content

Commit cbc13da

Browse files
committed
fix(ol-contextmenu-control): use partial options
1 parent 59ed56e commit cbc13da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/mapControls/OlContextMenuControl.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import useControl from "@/composables/useControl";
88
import usePropsAsObjectProperties from "@/composables/usePropsAsObjectProperties";
99
import { useOpenLayersEvents } from "@/composables/useOpenLayersEvents";
1010
11-
const props = withDefaults(defineProps<Options>(), {
11+
const props = withDefaults(defineProps<Partial<Options>>(), {
1212
eventType: "contextmenu",
1313
defaultItems: true,
1414
width: 150,

0 commit comments

Comments
 (0)