-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
TypeError: Cannot read property 'instantiations' of undefined when use as const
#30664
Comments
@ahejlsberg I investigated this: inside I cannot link to the lines because the file is too big for GitHub. |
That's kind of expected since there is no This probably needs an additional condition to check if the global type is actually available. Though I don't know what a reasonable fallback would be. |
I have this issue when using parcel to compile typescript files that use |
Seeing the same failure when applying |
I experience the same issue with typescript 3.4.1 while running Error test code can be reduced to this: function f2(ma: string[], ra: readonly string[], mt: [string, string], rt: readonly [string, string]) {
} |
Would you please release the fix as 3.4.x? |
@andrewbranch please port the fix PR to the release-3.4 branch. Thanks! |
Done: #30892 |
Happened on |
Re-closing as this has been released |
TypeScript Version: 3.4.0-dev.201xxxxx
Search Terms:
Code
Expected behavior:
Actual behavior:
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: