We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.19.0
The generated src/components.d.ts file is corrupt, with missing identifiers in the import and export statements. For example:
src/components.d.ts
import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; import { as BBox } from "geojson"; export { as BBox } from "geojson"; export namespace Components { interface AppHome { } interface AppProfile { "bbox": BBox; } interface AppRoot { } } ...
The src/components.d.ts file should be built correctly.
If you switch back to @stencil/[email protected] then the issue is no longer present.
❯ npx stencil info System: node 18.18.2 Platform: darwin (23.5.0) CPU Model: Apple M1 Pro (8 cpus) Compiler: /Users/joewoodhouse/src/stencil-import-type-issue/node_modules/@stencil/core/compiler/stencil.js Build: 1719433468 Stencil: 4.19.0 🏄 TypeScript: 5.4.5 Rollup: 2.56.3 Parse5: 7.1.2 jQuery: 4.0.0-pre Terser: 5.31.1
git clone https://github.com/joewoodhouse/stencil-import-types-issue cd stencil-import-types-issue npm install npm run build cat src/components.d.ts
https://github.com/joewoodhouse/stencil-import-types-issue
Almost certainly related to this change 7ffb25d#diff-1079cab98429d9a563cc8bb366896edc0ccf6b1c3e113771acf0ddaa3f52484b
The text was updated successfully, but these errors were encountered:
@joewoodhouse I've confirmed the issue here. We'll get a fix up for this ASAP!
Sorry, something went wrong.
tanner-reits
Successfully merging a pull request may close this issue.
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/[email protected] 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
7ffb25d#diff-1079cab98429d9a563cc8bb366896edc0ccf6b1c3e113771acf0ddaa3f52484b
The text was updated successfully, but these errors were encountered: