Add support for object type spread (#5525)
* Add support for object type spread * Type spread: remove variance and add stripping test
This commit is contained in:
@@ -308,6 +308,14 @@ defineType("ObjectTypeProperty", {
|
||||
},
|
||||
});
|
||||
|
||||
defineType("ObjectTypeSpreadProperty", {
|
||||
visitor: ["argument"],
|
||||
aliases: ["Flow", "UserWhitespacable"],
|
||||
fields: {
|
||||
// todo
|
||||
},
|
||||
});
|
||||
|
||||
defineType("QualifiedTypeIdentifier", {
|
||||
visitor: ["id", "qualification"],
|
||||
aliases: ["Flow"],
|
||||
|
||||
Reference in New Issue
Block a user