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

Member predicate TypeAccess::getATypeArgument

Gets a type argument provided to this type by the enclosing generic type expression, if any.

For example, in Array<number>, the Array part is a type access having the type argument number.

TypeExpr getATypeArgument()