I'm starting with VUE 3 and the composition api using Typescript for the first time.
I have the setup method like the following:
setup(props: { widgetType: string; displayType: string; trigger: number }, { emit })
Now, when I'm building this file, I get the error "Binding element 'emit' implicitly has an 'any' type.".
I do not know how to fix this. I tried different solutions from the web but nothing worked.
Can anybody help me?
Regards
Chris