-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
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
bug: lib/components.ts(6,15): error TS2305: Module '"stencil-library"' has no exported member 'JSX'. #427
Comments
@loremru Transferred this issue over to the framework wrapper repo. At this time, the framework wrappers are only maintained to support the Ionic Framework, so we are not sure when this work will be prioritized. We welcome any community contributions if you'd like to take a stab at this yourself! |
This worked to produce a successful build, add this to your import { JSX } from './components'; // Replace with your relative directory
export { format } from './utils/utils'; // Replace with your relative directory
export { JSX } |
the workaround not working because this index.ts get's overwritten not include any types, inside dist/components there is index.d.ts file but this file not really generated from src folder index.ts |
This issue has been labeled as If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. |
Prerequisites
Stencil Version
v4.15
Current Behavior
✖ vue-library:build
> [email protected] build
> npm run tsc
Expected Behavior
build
System Info
Steps to Reproduce
follow docs with lerna
https://stenciljs.com/docs/vue
Code Reproduction URL
https://github.com/loremru/stencil-bug-0
Additional Information
please improve docs and give template with lerna. Stencil defines as build-tool but haven't an example for building
The text was updated successfully, but these errors were encountered: