0.5.0 • Published 3 years ago

@itsjamie/esdoc-typescript-plugin v0.5.0

Weekly downloads
254
License
MIT
Repository
github
Last release
3 years ago

ESDoc TypeScript Plugin (PoC)

This plugin is proof of concept

Install

npm install @itsjamie/esdoc-typescript-plugin

Config

{
    "source": "./src",
    "destination": "./doc",
    "plugins": [
        {
            "name": "@itsjamie/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

0.5.0

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1-alpha.4

5 years ago

0.1.1-alpha.3

5 years ago

0.1.1-alpha.2

5 years ago

0.1.1-alpha.1

5 years ago

0.1.1-alpha.0

5 years ago

0.1.0

6 years ago

0.1.0-alpha.4

6 years ago

0.1.0-alpha.1

6 years ago

0.1.0-alpha.3

6 years ago

0.1.0-alpha.2

6 years ago

0.1.0-alpha.0

6 years ago