CodeQL library for JavaScript
Search

Member predicate ConditionalTypeExpr::getTrueType

Gets the type to be used if the extend condition holds, such as A in T extends any[] ? A : B.

TypeExpr getTrueType()