Closed
Description
Consider the following code:
const SECOND_IN_MILLISECONDS = 1000;
TypeDoc will generate a page with the following:
Here, the type of "1000" is superfluous/confusing/noisy/distracting. Thus, I propose that when TypeDoc determines that the type is exactly the same thing as the value, then it should omit printing out the type.
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
issue TypeStrong#2717 almost fixed, HTML rendering must be fixed
Corso02 commentedon Sep 29, 2024
Hi @Zamiell and @Gerrit0.
I managed to fix this issue.
There were 2 tests that were failing right after I forked and cloned this repo. No other tests are failing after I implemented my solution.
I used the same code that is mentioned in the description of this issue, and here is how the docs are generated with my solution in place.

Can I submit Pull Request?
Gerrit0 commentedon Sep 29, 2024
Please do!
Update changelog for fixing #2717