mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 02:15:12 -06:00
Avoids recursion -- during batch compilation, `checkCallExpression` already sets the signature to `anySignature` as a sentinel value, the services layer calls directly into `checkParameter`, skipping `checkCallExpression` entirely. So `getContextuallyTypedParameterType` also needs to set this sentinel value.