A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
Prerequisites
Stencil Version
4.19.0
Current Behavior
The generated
src/components.d.ts
file is corrupt, with missing identifiers in the import and export statements. For example:Expected Behavior
The
src/components.d.ts
file should be built correctly.If you switch back to @stencil/core@4.18.0 then the issue is no longer present.
System Info
Steps to Reproduce
Code Reproduction URL
https://github.com/joewoodhouse/stencil-import-types-issue
Additional Information
Almost certainly related to this change https://github.com/ionic-team/stencil/commit/7ffb25d259de5b863e7dc3bc43270265cc786557#diff-1079cab98429d9a563cc8bb366896edc0ccf6b1c3e113771acf0ddaa3f52484b