You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue with Compodoc (version 1.1.25) when using indexed access types (also known as lookup types) in TypeScript, specifically when referencing a property of another type or interface using the T[K] syntax.
Example Code
Here is a TypeScript code example that causes this problem:
When running Compodoc, the types defined using the T[K] syntax are not correctly interpreted or documented. They are not displayed correctly in the generated documentation and empty in JSON export.
Expected Behavior
I would expect Compodoc to recognize and correctly document the types obtained via the [] operator, specifying the exact type (string, number, etc.) instead of an empty result.
Environment Details
Compodoc Version: 1.1.25
Thank you for looking into this issue!
The text was updated successfully, but these errors were encountered:
Hello,
I am experiencing an issue with
Compodoc
(version 1.1.25) when using indexed access types (also known as lookup types) in TypeScript, specifically when referencing a property of another type or interface using theT[K]
syntax.Example Code
Here is a TypeScript code example that causes this problem:
Observed Behavior
When running
Compodoc
, the types defined using theT[K]
syntax are not correctly interpreted or documented. They are not displayed correctly in the generated documentation and empty in JSON export.Expected Behavior
I would expect
Compodoc
to recognize and correctly document the types obtained via the[]
operator, specifying the exact type (string
,number
, etc.) instead of an empty result.Environment Details
Thank you for looking into this issue!
The text was updated successfully, but these errors were encountered: