-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
"Cannot read property 'declarations' of undefined" error when using React prop-types in JSX files #33735
Comments
Excellent and succinct repro, thanks ❤️ I'll work on a fix tomorrow - the issue seems to be that an assumption made that a |
I just tried with the latest build, I am still getting this error. |
"latest build" being @next? Or the beta? The fix is still only in @next and hasn't shipped in a tagged release yet. |
Sorry I was not very specific. I took the @next. Precise build number is 3.7.0-dev.20191018. |
Same as @ppN2, but downgrading to |
I got this today when I updated 4.0.1 to 4.1.2 on a big project(has
I should probably open this as a new ticket right @weswigham ? |
Yeah, that stack trace is entirely different. |
TypeScript Version: "3.7.0-dev.20191001"
Search Terms:
Code
compiler options
Expected behavior:
No error
Actual behavior:
Compiler crashes with:
The text was updated successfully, but these errors were encountered: