[IMP] types: correctly support Set type for props-validation

Previously, having a Set as a type in the static props description
of a component would would lead to a type error.

This commit adds Set to the list of supported types in the Schema
This commit is contained in:
Pierre Rousseau
2024-03-26 13:01:33 +01:00
parent 33dfeb1b41
commit fcd6b2ab8b
+1
View File
@@ -9,6 +9,7 @@ type BaseType =
| typeof Object | typeof Object
| typeof Array | typeof Array
| typeof Function | typeof Function
| typeof Set
| true | true
| "*"; | "*";