Dear Stackoverflow Community,
I am working on my first Vue-Project with TypeScript. Now I have a Two-Columns-Layout and I try to change only the left side component with one click on a button. But I receive an error code with my following method "changeComponent":
methods: {
changeComponent(payload) {
this.componentName = payload.componentName;
}
}
Error: Parameter 'payload' implicitly has an 'any' type.
I am new with TypeScript and would be very grateful for all your inputs. Thank you!