-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Strange JSX usage compilation error #10430
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
Comments
It really sounds like someone wrote |
@RyanCavanaugh import {CButton} from "src/lib/components"
class Usage extends React.Component<void, void> {
render() {
return <CButton type="type" /* and other attributes with that style, without spread operator */ />
}
} Non-failed usages looks like exactly the same :) Is there some magical logs, which I could enable to catch the issue? :) |
What is the declaration of CButton? |
have the same problem when trying for me it is only this is for all usages of there is nothing special in the definition of I removed all props from the definition of both If I explicitly define though if I define the interface to be the same it is coming from generic parent: Hope this helps with the issue |
I really need some code that reproduces this issue to proceed. Can either of you post a zip or repo link that I can look at? |
This issue still reproduces in 2RC. |
@RyanCavanaugh could you please give me email, where I can send you zip with reproduceable project? Unfortunatelly, I can't share it on github, because it is private. |
@RyanCavanaugh I want to ping you, please, give me any email :) |
@RyanCavanaugh have you recevied my email? I've sent it to you 11 days ago. |
Sorry for the delay, looking now |
Tracking at a fresh bug #11187. Thanks again |
TypeScript Version: 2.1.0-dev.20160819
Code
Unfortunatelly, I can't extract self-containment example
Expected behavior:
No error
Actual behavior:
Bunch of errors on each JSX usage:
and it happens with almost every component in my project.
Usage of that components does not have spread operator.
I can't extract something special with that components or usage.
It happens only with 2.1 nightly
The text was updated successfully, but these errors were encountered: