-
-
Notifications
You must be signed in to change notification settings - Fork 751
Closed
Description
Search terms
inheritable, accessors
Expected Behavior
Accessor reflections should be marked as inherited upon creation of the declaration.
Actual Behavior
In typedoc-plugin-no-inherit, accessors can't be filtered due to Reflection.inheritedFrom not being set at the time onDeclaration fires. This seems like it's a result of ReflectionKind.Inheritable not including accessors, and therefore accessors being skipped by ImplementsPlugin.getExtensionInfo. The inherited information is set later, as the inherited toggle on the page properly filters accessors.
Steps to reproduce the bug
See https://github.com/jonchardy/typedoc-plugin-no-inherit-test.
- npm i
- npm run doc
- Views docs/classes/Mammal.html, which should not include "test" accessor.
Environment
- Typedoc version: 0.22.6
- TypeScript version: 4.4.4
Metadata
Metadata
Assignees
Labels
No labels