Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Generic type defaults dont seem to be mapped #10

Closed
cm226 opened this issue Oct 11, 2022 · 2 comments
Closed

Generic type defaults dont seem to be mapped #10

cm226 opened this issue Oct 11, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@cm226
Copy link

cm226 commented Oct 11, 2022

came across this issue while using this plugin,

If I have:
export function someFunction<T extends ISomething= ISomething>

where ISomething is from a different module I get:

warning ISomething is referenced by someFunction but not included in the documentation

It looks like its only the default value thats not mapped to the new module, because this definition:

export function someFunction<T extends ISomething>

compiles ok.

@nlepage nlepage self-assigned this Oct 11, 2022
nlepage added a commit that referenced this issue Oct 11, 2022
@nlepage nlepage added the bug Something isn't working label Oct 11, 2022
@nlepage
Copy link
Owner

nlepage commented Oct 11, 2022

Hi @cm226, good catch, thanks for reporting the issue.
Just published v0.3.1 to fix this, let me know if this OK for you.

@cm226
Copy link
Author

cm226 commented Oct 12, 2022

@nlepage Yep confirm that new version fixes the issue, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants