In one of the components, I am passing an < html > element of an iframe as a prop. I want to define the type of prop being passed, however, Vue2 throws me a non-indicative warning in the console: Invalid prop: type check failed for prop "xyz". Expected HTMLHtmlElement, got HTMLHtmlElement....
I have tried to suppress it with required: false, but it did not work. So far defining the type as type: undefined does not prompt the warning, but I bet it's a bad practice. Below is the snippet of prop definition:
xyz: {
type: HTMLHtmlElement,
'default': null,
required: false
}