Closed
Description
Search terms
const, function
Expected Behavior
Documentation for function variables should be inferred, i.e. the description, parameter descriptions etc. should be inherited.
interface Callable
{
/**
* Convert a number to a string.
*
* @param payload A number.
*/
(payload: number): string;
/**
* Convert a string to a number.
*
* @param payload A string.
*/
(payload: string): number;
}
export declare const callable: Callable;
Actual Behavior
Steps to reproduce the bug
Please refer to the code snippet above.
Environment
- Typedoc version: 0.20.28
- TypeScript version: 4.1.5
- Node.js version: 14.15.5
- OS: Kubuntu 20.04
Metadata
Metadata
Assignees
Labels
No labels