flow-parser 0.117.0 → 0.119.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/flow_parser.js +5679 -5952
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ flow.parse('1+1', {});
|
|
|
34
34
|
|
|
35
35
|
The second argument to `flow.parse` is the options object. Currently supported options:
|
|
36
36
|
|
|
37
|
+
* `enums` (boolean, default `false`) - enable parsing of Flow enums
|
|
37
38
|
* `esproposal_decorators` (boolean, default `false`) - enable parsing of decorators
|
|
38
39
|
* `esproposal_class_instance_fields` (boolean, default `false`) - enable parsing of class instance fields
|
|
39
40
|
* `esproposal_class_static_fields` (boolean, default `false`) - enable parsing of class static fields
|