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

Member predicate TypeAccess::getTypeArgument

Gets the nth 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 getTypeArgument(int n)