mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[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:
@@ -9,6 +9,7 @@ type BaseType =
|
|||||||
| typeof Object
|
| typeof Object
|
||||||
| typeof Array
|
| typeof Array
|
||||||
| typeof Function
|
| typeof Function
|
||||||
|
| typeof Set
|
||||||
| true
|
| true
|
||||||
| "*";
|
| "*";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user