CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.1-dev (changelog, source)
Search

Member predicate ConditionalTypeExpr::getFalseType

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

TypeExpr getFalseType()