Closed
Description
Search terms
Type Alias
Delegate
Handler
Expected Behavior
The following type declaration should render with its comment just below the signature.
/**
* The signature for a function acting as an event handler.
*/
export type EventHandler = ((e: Event) => void);
It should appear like this (without the | null
, added to show expected output).
Actual Behavior
Typedoc renders the description as part of the type declaration.
Steps to reproduce the bug
Repro here:
TypeStrong/typedoc-repros#30
Environment
- Typedoc version: 0.24.8
- TypeScript version: 5.1.6
- Node.js version: 18.13.0
- OS: Windows 11
Metadata
Metadata
Assignees
Labels
No labels