Crash when requesting property type from a generic constructor function's instantiation #26641
Labels
Bug
A bug in TypeScript
Domain: JSDoc
Relates to JSDoc parsing and type generation
Duplicate
An existing issue was already created
Milestone
Expected behavior:
No crash when requesting quickinfo at
/**/
Actual behavior:
Crash in getOuterTypeParameters, indicating that we called it with a type that is not a real GenericType, and there doesn't have cached outer type parameters. This is very likely because the types created for constructor functions are not real GenericTypes.
Related Issues: Maybe #25618 ?
Edit: I thought this might be recent regression, but it repros on 3.0 and 2.9 as well.
The text was updated successfully, but these errors were encountered: