Fix typescript generator params (#9524)
* Fix typescript generator params * add TSOptionalType, TSRestType, add more test
This commit is contained in:
committed by
Nicolò Ribaudo
parent
5bb1bb080f
commit
bbb4d7b6d7
@@ -231,7 +231,7 @@ export function tsPrintBraced(members, node) {
|
||||
}
|
||||
|
||||
export function TSArrayType(node) {
|
||||
this.print(node.elementType);
|
||||
this.print(node.elementType, node);
|
||||
this.token("[]");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user