Closed as not planned
Closed as not planned
Description
openedon Jun 6, 2023
Bug Report
π Search Terms
- "RangeError: Maximum call stack size exceeded at inferFromTypes"
- "inferFromTypes"
π Version & Regression Information
- This changed between versions 5.0.4 and 5.1.3
- Seems to be fixed when running
npm install typescript@next //(5.2.0-dev.20230606)
π» Code
npm run build
π Actual behavior
Build error occurred
RangeError: Maximum call stack size exceeded
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:654
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:654
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11)
at inferFromTypes (C:\***\node_modules\typescript\lib\typescript.js:65459:11) {
type: 'RangeError'
}
π Expected behavior
Build completed with no errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment