CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (changelog, source)
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()