package flow_parser

  1. Overview
  2. Docs
type body =
  1. | BodyBlock of Loc.t * Statement.Block.t
  2. | BodyExpression of Expression.t
type t = {
  1. id : Identifier.t option;
  2. params : Pattern.t list;
  3. defaults : Expression.t option list;
  4. rest : Identifier.t option;
  5. body : body;
  6. async : bool;
  7. generator : bool;
  8. predicate : Type.Predicate.t option;
  9. expression : bool;
  10. returnType : Type.annotation option;
  11. typeParameters : Type.ParameterDeclaration.t option;
}
OCaml

Innovation. Community. Security.