package melange

  1. Overview
  2. Docs
Toolchain to produce JS from Reason/OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.0.1-53.tbz
sha256=abb26e01e5439cb0c7c41f62411441816af7c7c18a9e0800063c3d4df4da8fec
sha512=9d6f7d80f48fe773f6a427d199c1fc5ea095231fc09a4b7a35d4604abcacd5e11dfdd68d017862eb783882b887e536a06c8b9ead22e8ee7ffe23c1d164cee31a

doc/melange.js_parser/Js_parser/Flow_ast/Statement/DeclareModule/index.html

Module Statement.DeclareModule

type ('M, 'T) id =
  1. | Identifier of ('M, 'T) Identifier.t
  2. | Literal of 'T * 'M StringLiteral.t
and module_kind =
  1. | CommonJS
  2. | ES
and ('M, 'T) t = {
  1. id : ('M, 'T) id;
  2. body : 'M * ('M, 'T) Block.t;
  3. kind : module_kind;
  4. comments : ('M, unit) Syntax.t option;
}
OCaml

Innovation. Community. Security.