Closed
Description
🔎 Search Terms
🕗 Version & Regression Information
It's working on 5.3
Here is the stacktrace, I hope it helps, I don't really have time to disect which part my codebase triggers this. Feel free to close if this not enough to understand the regression
TypeError: Cannot read properties of undefined (reading '0')
at removeConstrainedTypeVariables (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:57118:33)
at getUnionTypeWorker (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:57215:9)
at getUnionType (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:57194:12)
at createJsxAttributesTypeFromAttributesProperty (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:69288:216)
at checkJsxAttributes (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:69353:12)
at checkExpressionWorker (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:75700:16)
at checkExpression (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:75557:32)
at checkExpressionWithContextualType (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:75203:18)
at resolveJsxOpeningLikeElement (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:72230:51)
at resolveSignature (/Users/arnaud/git/carbon-calculator/node_modules/typescript/lib/tsc.js:72303:16)
⏯ Playground Link
No response
💻 Code
No response
🙁 Actual behavior
Crash
🙂 Expected behavior
No crash
Additional information about the issue
No response