Closed kevinbarabash closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.01%. Comparing base (
cf60b31
) to head (b1a1f9f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Types for function declarations and methods on interfaces were being generalized, but not type aliases. This resulted in types like:
being inferred as
Without generalization, the type variables in these types would get locked after their first use.
To remedy this,
any
is now inferred as_
the "wildcard" type which can unify with anything. It's essentially the same thing asany
in TypeScript.