when viewing ide/components.html-sharpProp" rel=" nofollow noreferrer "> Props ,
type
of props can also be a custom constructor function that uses instanceof detection.
how to do this sentence?
for example, I have one:
propB: [String, Number]
so how do you implement one of the above custom constructors to define types?