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

Member predicate ConditionalTypeExpr::getExtendsType

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

TypeExpr getExtendsType()