add ExistentialTypeParam - fixes #2587

This commit is contained in:
Sebastian McKenzie
2015-11-03 13:48:03 +00:00
parent 49cbd27441
commit 7dc1b4e7e9
8 changed files with 203 additions and 3 deletions

View File

@@ -46,6 +46,10 @@ export function DeclareVariable(node: Object) {
this.semicolon();
}
export function ExistentialTypeParam() {
this.push("*");
}
export function FunctionTypeAnnotation(node: Object, parent: Object) {
this.print(node.typeParameters, node);
this.push("(");