Class Serializer

Serializes TypeDoc's models to JSON

Hierarchy (View Summary)

Constructors

Events

EVENT_BEGIN: "begin"

Triggered when the Serializer begins transforming a project.

EVENT_END: "end"

Triggered when the Serializer has finished transforming a project.

Methods

  • Starts listening to an event.

    Type Parameters

    Parameters

    • event: K

      the event to listen to.

    • listener: (this: undefined, ...args: SerializerEvents[K]) => void

      function to be called when an this event is emitted.

    • priority: number = 0

      optional priority to insert this hook with.

    Returns void

Properties

Only set when serializing

projectRoot: string

Only set when serializing.