Add "mixed" Flow type
"mixed" is one of the base types listed here: http://flowtype.org/docs/base-types.html So this commit adds support for it.
This commit is contained in:
parent
f6e7cf4a31
commit
6f912edaab
@ -415,6 +415,9 @@ pp.flow_identToTypeAnnotation = function (start, node, id) {
|
||||
case "boolean":
|
||||
return this.finishNode(node, "BooleanTypeAnnotation")
|
||||
|
||||
case "mixed":
|
||||
return this.finishNode(node, "MixedTypeAnnotation")
|
||||
|
||||
case "number":
|
||||
return this.finishNode(node, "NumberTypeAnnotation")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user