Skip to content

fix(typedoc): Fix merge properties from base classes and remove obsolete base class name rosolving.#175

Open
skrustev wants to merge 2 commits into
masterfrom
skrastev/fix-base-props
Open

fix(typedoc): Fix merge properties from base classes and remove obsolete base class name rosolving.#175
skrustev wants to merge 2 commits into
masterfrom
skrastev/fix-base-props

Conversation

@skrustev

Copy link
Copy Markdown
Member

Closes https://github.com/IgniteUI/api-docs/issues/140

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes behavioral changes and the feature specification has been updated with them

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the custom TypeDoc plugin logic used to surface component/base-class members in the generated React component API docs, addressing incorrect/obsolete base type handling (per api-docs issue #140).

Changes:

  • Expands the set of excluded base types and adds an excluded-property list.
  • Refactors base-type property traversal to handle intersections/merged base types via resolveBaseTypeProps.
  • Removes the older extractBaseType logic that previously populated extendedTypes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +186 to +189
if (
type.symbol?.name.includes('EventEmitterInterface') ||
excludeBaseTypes.includes(type.symbol?.name)
) {
Comment on lines +244 to +246
if (!type.baseTypesResolved || type.resolvedBaseTypes?.length === 0) {
return;
}
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.

3 participants