Compare commits

...

1 Commits

Author SHA1 Message Date
Pierre Rousseau fcd6b2ab8b [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
2024-03-26 13:01:33 +01:00
+1
View File
@@ -9,6 +9,7 @@ type BaseType =
| typeof Object
| typeof Array
| typeof Function
| typeof Set
| true
| "*";