From VueJS docs:
nullandundefinedvalues will pass any type validation
Or you can use array and place in it all required types:
propB: [String, Number]
From VueJS docs:
nullandundefinedvalues will pass any type validation
Or you can use array and place in it all required types:
propB: [String, Number]