-
-
Notifications
You must be signed in to change notification settings - Fork 750
Closed
Milestone
Description
Search terms
missing documentation
Expected Behavior
When the documentation is present, it appears in the output and does not produce a warning.
Actual Behavior
Some of the documentation is not generated and a warning is produced.
Steps to reproduce the bug
Configure validation
{
"validation": {
"notDocumented": true
}
}Declare and document the interface.
/**
* ConsoleDataHandler defines the callback signature required to
* obtain data from a command's stdout or stderr streams as it executes.
* ConsoleDataHandler callbacks are specified by {@link ApiOptions.outHandler}
* and {@link ApiOptions.errHandler}.
*
* Uncaught Errors thrown by ConsoleDataHandler functions are
* logged to console.error by easy-git-annex.
* An application may override this behavior by
* catching and handling any error in the callback.
*
* The bind function may be used to pass `this` and other parameters.
* Refer to the
* [Function.prototype.bind() documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind)
* for additional information.
* @category API Options
*/
export interface ConsoleDataHandler {
/**
* @param data The recently generated console output.
*/
(data: string): void;
}- clone https://github.com/jstritch/easy-git-annex.git
- npm ci
- npm run typedoc
- observe the warning
[warning] ConsoleDataHandler, defined in ./src/interfaces/console-data-handler.ts, does not have any documentation. - observe the part before the interface is omitted from the HTML but other parts are not. See attached screen shot. Other interfaces in the project are working as expected.
Environment
- Typedoc version: 0.24.7
- TypeScript version: 5.0.4
- Node.js version: v20.2.0
- OS: Linux, macOS, and Windows
