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