-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
good first issueGood for newcomersGood for newcomers
Milestone
Description
Class constructors are currently not handled distinctly by the theme — they fall through to the generic memberTitle partial and are rendered as regular members. This produces incorrect output for doc-kit.
Expected output
Constructors should be rendered in the Node.js API docs style:
#### `new webpack.Compiler(context, options)`
* `context` {string}
* `options` {WebpackOptionsNormalized}The heading uses the new ClassName(params) form, and parameters are rendered as a typed list beneath it.
For a class Compiler with a constructor constructor(context: string, options: WebpackOptionsNormalized), the output should be:
#### `new Compiler(context, options)`For a constructor where all params are optional:
#### `new Stats([options])`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers