Skip to content

bug: Components that use mixins with private/protected members do not have their types added to dist #6608

@kyleMessnerLillyContractor

Description

Prerequisites

Stencil Version

4.43.1

Current Behavior

When a component extends a mixin that has a private or protected member it does not get its type definitions added to ./dist/types/components/*. Mixins with public members only get added correctly.

Expected Behavior

All components, regardless of the composition of their mixins, get their types added to the types output

System Info

System: node 22.14.0
    Platform: darwin (25.3.0)
   CPU Model: Apple M4 Pro (12 cpus)
    Compiler: /Users/XXX/Sanity/stencil-issue/node_modules/@stencil/core/compiler/stencil.js
       Build: 1771605342
     Stencil: 4.43.1 🏹
  TypeScript: 5.8.3
      Rollup: 4.44.0
      Parse5: 7.2.1
      jQuery: 4.0.0-pre
      Terser: 5.37.0

Steps to Reproduce

npm install
npm run build
observe dist/types/components only ComponentA and ComponentB get added. ComponentC and ComponentD are missing.

Code Reproduction URL

https://github.com/kyleMessnerLillyContractor/stencil-issue/tree/issue-4

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions