Module Shape.Sig_component_kind

type t =
  1. | Value
  2. | Type
  3. | Constructor
  4. | Label
  5. | Module
  6. | Module_type
  7. | Extension_constructor
  8. | Class
  9. | Class_type
;
let to_string: t => string;
let can_appear_in_types: t => bool;

Whether the name of a component of that kind can appear in a type.