Module Statement.DeclareModule

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