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

Member predicate ConditionalTypeExpr::getCheckType

Gets the type to the left of the extends keyword, such as T in T extends any[] ? A : B.

TypeExpr getCheckType()