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;
}