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

Member predicate RestTypeExpr::getArrayType

Gets the type T[] in ...T[], such as string[] in [number, ...string[]].

TypeExpr getArrayType()