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