Skip to content

Prop as array type declaration

Summary

Props are not parsed if defined as an array of types

Steps to reproduce

export default {
   props: {
        /**
         * Badge value
         */
        value: [String, Number],
    },
}

What is the current bug behavior?

Props is ignore completely

What is the expected correct behavior?

Prop is parsed with given types

Edited by Sébastien Demanou