-
-
Notifications
You must be signed in to change notification settings - Fork 741
Description
Search terms
- Member Visibility
- Protected
Expected Behavior && Actual Behavior
Given a link to a protected member I would expect it to "just" work.
But if the "Member Visibility" has not been set with "protected" enabled.
The link will not work.
Note that by default protected members are hidden so links to protected/private members will
simply not work...
Steps to reproduce the bug
-
Open: https://chevrotain.io/documentation/10_4_0/classes/CstParser.html#canTokenTypeBeInsertedInRecovery
-
Note that the link will open the "root" of the class and not the specific
canTokenTypeBeInsertedInRecovery
method. -
Open the settings menu in the top right corner.
-
enable "Member Visibility" of protected members.
-
close the browser tab
-
Open the same link again: https://chevrotain.io/documentation/10_4_0/classes/CstParser.html#canTokenTypeBeInsertedInRecovery
-
Now the link works as expected.
You can also reproduce this using the super simple repo which includes my settings and config.
Environment
"typedoc": "0.23.19",
"typescript": "4.7.4",
- Node.js version: 18.4.0
- OS: Win11