fix linting error and add missing tests
This commit is contained in:
@@ -494,7 +494,7 @@ pp.flowParsePrimaryType = function () {
|
||||
return this.finishNode(node, "StringLiteralTypeAnnotation");
|
||||
|
||||
case tt._true: case tt._false:
|
||||
node.value = this.match(tt._true)
|
||||
node.value = this.match(tt._true);
|
||||
this.next();
|
||||
return this.finishNode(node, "BooleanLiteralTypeAnnotation");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user