Module Object.Property

type key('M, 'T) =
  1. | StringLiteral(('M, StringLiteral.t('M)))
  2. | NumberLiteral(('M, NumberLiteral.t('M)))
  3. | BigIntLiteral(('M, BigIntLiteral.t('M)))
  4. | Identifier(Identifier.t('M, 'T))
  5. | Computed(ComputedKey.t('M, 'T))
;
and t('M, 'T) = ('M, t'('M, 'T));
and t'('M, 'T) = {
  1. key: key('M, 'T),
  2. pattern: Pattern.t('M, 'T),
  3. default: option(Expression.t('M, 'T)),
  4. shorthand: bool,
};