Closed mikinovation closed 5 months ago
I tried to fix this problem and added this code to DatepickerInput.vue
However it doesn't work.
defineSlots<{
trigger: any;
['dp-input'](): any;
['clear-icon'](props: { clear: (ev?: Event) => void }): any;
['input-icon'](): any;
}>();
Describe the bug
To Reproduce
This is the minimalized project.
https://github.com/mikinovation/sandbox/tree/main/vue/nuxt-vuedatepicker
You can check type error
Expected behavior
the props should have "clear" function