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:
@@ -331,6 +331,11 @@ export function ObjectTypeProperty(node: Object) {
|
||||
this.print(node.value, node);
|
||||
}
|
||||
|
||||
export function ObjectTypeSpreadProperty(node: Object) {
|
||||
this.token("...");
|
||||
this.print(node.argument, node);
|
||||
}
|
||||
|
||||
export function QualifiedTypeIdentifier(node: Object) {
|
||||
this.print(node.qualification, node);
|
||||
this.token(".");
|
||||
|
||||
Reference in New Issue
Block a user