2.6.0-dev.1 • Published 10 months ago

@enterthenamehere/esdoc-typescript-plugin v2.6.0-dev.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

ESDoc TypeScript Plugin (PoC)

Use with updated EnterTheNameHere/esdoc-monorepo. Original esdoc is here.

This plugin is proof of concept

Install

npm install @enterthenamehere/esdoc-typescript-plugin

Config

{
  "source": "./src",
  "destination": "./doc",
  "plugins": [
    {"name": "@enterthenamehere/esdoc-typescript-plugin", "option": {"enable": true}}
  ]
}
  • enable is default true

Example

export class Foo {
  // without document, with initializer
  member: number = 10;
  
  // without document
  method1(n: number): string {
  }
  
  // without @param and @return
  /**
   * this is method2.
   */
  method2(n: number): string {
  }
  
  // without type in @param and @return
  /**
   * this is method3.
   * @param n - this is param desc.
   * @return this is return desc.
   */
  method3(n: number): string {
  }
}

LICENSE

MIT

Author

Ryo Maruyama@h13i32maru

2.6.0-dev.1

10 months ago

2.5.3-dev.1

2 years ago

2.5.0

2 years ago

2.3.0

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.2.4

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.3.0-beta.0

3 years ago