* Fix #656

* Fix #656
This commit is contained in:
Naveen jain
2017-08-04 15:24:03 +05:30
committed by Daniel Tschinder
parent eee1a3854e
commit 0c11af8fc5
6 changed files with 5 additions and 12 deletions

View File

@@ -1043,12 +1043,10 @@ export default (superClass: Class<Parser>): Class<Parser> =>
);
case tt._null:
node.value = this.match(tt._null);
this.next();
return this.finishNode(node, "NullLiteralTypeAnnotation");
case tt._this:
node.value = this.match(tt._this);
this.next();
return this.finishNode(node, "ThisTypeAnnotation");