Update javascript/ql/src/semmle/javascript/TypeScript.qll

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Erik Krogh Kristensen
2020-10-19 11:01:06 +02:00
committed by GitHub
parent 11ee7c7946
commit 5b1ed97d68

View File

@@ -322,7 +322,7 @@ class InterfaceDeclaration extends Stmt, InterfaceDefinition, @interface_declara
*/
override TypeExpr getASuperInterface() { result = InterfaceDefinition.super.getASuperInterface() }
override string getAPrimaryQlClass() { result = "InterfaceDefinition" }
override string getAPrimaryQlClass() { result = "InterfaceDeclaration" }
}
/** An inline TypeScript interface type, such as `{x: number; y: number}`. */