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

Member predicate InterfaceDeclaration::describe

Gets a description of this class or interface.

For named types such as class C { ... }, this is just the declared name. For classes assigned to variables, this is the name of the variable. If no meaningful name can be inferred, the result is “anonymous class” or “anonymous interface”.

string describe()