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

Addon-docs/Angular: Fix missing condition in compodoc resolveTypealias #16523

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Addon-docs/Angular: Fix missing condition in compodoc resolveTypealias #16523

merged 1 commit into from
Oct 29, 2021

Conversation

Nxtivision
Copy link
Contributor

What I did

When Storybook, using Compodoc, does not found the type alias from an external lib, the app breaks completely.

For example: when using @ngx-formly/core, FormlyFieldConfig is not recognized and the app breaks, because typealias is already undefined in miscellaneous

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@shilman shilman added this to the 6.4 PRs milestone Oct 29, 2021
@shilman shilman changed the title fix(compodoc): fix missing condition in resolveTypealias Addon-docs/Angular: Fix missing condition in compodoc resolveTypealias Oct 29, 2021
@shilman shilman added the bug label Oct 29, 2021
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

This looks totally reasonable -- thanks so much for the fix @KMathyTech !!! 🙏

@shilman shilman merged commit da74ce2 into storybookjs:next Oct 29, 2021
@Nxtivision
Copy link
Contributor Author

You're welcome, glad to help !

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

Successfully merging this pull request may close these issues.

2 participants