Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflect template parameter default values and use them as type arguments #1348

Merged
merged 27 commits into from Aug 23, 2020
Merged

Reflect template parameter default values and use them as type arguments #1348

merged 27 commits into from Aug 23, 2020

Conversation

krisztianb
Copy link
Contributor

@krisztianb krisztianb commented Aug 15, 2020

Fixes #1341 and Fixes #1345

When reviewing please take a closer look at the changes here: https://github.com/TypeStrong/typedoc/compare/master...krisztianb:fix-react-template-parameters?expand=1#diff-6fc223c798b8302651796c1b41fa064a

There is a strange code regarding mixins there. I'm not entirely sure that my logic is correct.

Copy link
Collaborator

@Gerrit0 Gerrit0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really dislike the special casing that we do for mixins... It is incredibly difficult to follow. I think what you did will work correctly.

src/lib/converter/utils/types.ts Outdated Show resolved Hide resolved
src/lib/converter/utils/types.ts Outdated Show resolved Hide resolved
src/lib/converter/utils/types.ts Outdated Show resolved Hide resolved
src/lib/converter/utils/types.ts Show resolved Hide resolved
src/lib/converter/utils/types.ts Outdated Show resolved Hide resolved
@Gerrit0 Gerrit0 merged commit f67f8db into TypeStrong:master Aug 23, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 23, 2020

Thanks! Hoping to get a release out tonight.

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 28, 2020

Released in 0.19 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants