You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.../node_modules/typescript/lib/tsc.js:59609
throw e;
^
RangeError: Maximum call stack size exceeded
at resolveEntityName (.../node_modules/typescript/lib/tsc.js:20834:35)
at resolveEntityName (.../node_modules/typescript/lib/tsc.js:20859:33)
at resolveTypeReferenceName (.../node_modules/typescript/lib/tsc.js:25382:20)
at getTypeFromTypeReference (.../node_modules/typescript/lib/tsc.js:25481:30)
at getTypeFromTypeNode (.../node_modules/typescript/lib/tsc.js:26360:28)
at getSignatureReturnTypeFromDeclaration (.../node_modules/typescript/lib/tsc.js:24997:24)
at getSignatureFromDeclaration (.../node_modules/typescript/lib/tsc.js:24964:34)
at getSignaturesOfSymbol (.../node_modules/typescript/lib/tsc.js:25062:37)
at resolveAnonymousTypeMembers (.../node_modules/typescript/lib/tsc.js:24311:38)
at resolveStructuredTypeMembers (.../node_modules/typescript/lib/tsc.js:24458:25)
The text was updated successfully, but these errors were encountered:
Structured type resolution did not previously care about recursive type resolution; it was only handled in specific cases. Recursive resolution can happen almost anywhere now, so #20400 changes resolveStructuredTypeMembers to handle it.
TypeScript Version: playground, typescript@2.7.0-dev.20171216
Code
Expected behavior:
Compile error.
Actual behavior:
Stack overflow.
The text was updated successfully, but these errors were encountered: