Skip to content

fix(compiler): v5 improve re-anchoring inherited Prop/Event/Method type references across - #6824

Merged
johnjenkins merged 3 commits into
v5from
v5-onetime-class-extension-class-extension-relocate
Aug 11, 2026
Merged

fix(compiler): v5 improve re-anchoring inherited Prop/Event/Method type references across#6824
johnjenkins merged 3 commits into
v5from
v5-onetime-class-extension-class-extension-relocate

Conversation

@johnjenkins

Copy link
Copy Markdown
Contributor

What is the current behavior?

GitHub Issue Number: N/A

When a component extends a base class in a different directory (or a node_modules collection), inherited members' type-reference paths were recorded relative to the base class's file but resolved against the component's - producing broken imports in components.d.ts and incorrect/any types in Storybook docs via @stencil/unplugin.

What is the new behavior?

Fixes the merge logic in both the full-compiler and stateless-transpile paths to re-anchor those references correctly.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@johnjenkins
johnjenkins requested a review from a team as a code owner August 11, 2026 22:45
@johnjenkins
johnjenkins merged commit c211aae into v5 Aug 11, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant