@wcardinal/typedoc-plugin-named-event

1.0.0 • Public • Published

About

TypeDoc plugin to rename events, remove optional flags and @internal tag for documenting events.

interface Class {
  /**
   * @event event-name
   * @internal
   */
  listener?( items:IItem[], transaction:Promise<ITransaction> ): void;
}

Reasons why the method is marked as an optional and an internal is to allow

  • implementation classes to omit a method implementation, and
  • type defition files to ignore this method.

Usage

npm i -D @wcardinal/typedoc-plugin-named-event

TypeDoc automatically detects the plugin.

Package Sidebar

Install

npm i @wcardinal/typedoc-plugin-named-event

Weekly Downloads

1

Version

1.0.0

License

Apatche-2.0

Unpacked Size

7.95 kB

Total Files

6

Last publish

Collaborators

  • masashi.kojo