CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.9.1 (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()