babel/packages/babel-plugin-syntax-flow
George Zahariev ec3345bb57 Flow enums parsing (#10344)
* Flow enums parsing

* Parse exporting enums

* Enums parsing remove lookahead, other improvements

* Enums: add EnumBody and EnumMember aliases, change boolean members to use BooleaLiteral value

* Fix enum member init flow type, now that boolean members have a BooleanLiteral value

* Flow enums: use contextual utils, change members length checks to use logic operators, remove reserved word logic modification

* Flow enums: remove unnecessary code in generator, fix error message
2019-10-29 22:55:12 +01:00
..
2019-10-29 22:55:12 +01:00
2017-03-25 21:46:16 -04:00
2018-12-03 20:00:35 +01:00

@babel/plugin-syntax-flow

Allow parsing of the flow syntax

See our website @babel/plugin-syntax-flow for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-syntax-flow

or using yarn:

yarn add @babel/plugin-syntax-flow --dev