We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4b13e0 commit 37999eaCopy full SHA for 37999ea
1 file changed
javascript/ql/lib/semmle/javascript/ES2015Modules.qll
@@ -98,7 +98,7 @@ class ImportDeclaration extends Stmt, Import, @import_declaration {
98
* import foo from "foo" assert { type: "json" };
99
* ```
100
*/
101
- ObjectExpr getImportAssertion() { result = getChildExpr(-10) }
+ ObjectExpr getImportAssertion() { result = this.getChildExpr(-10) }
102
103
/** Gets the `i`th import specifier of this import declaration. */
104
ImportSpecifier getSpecifier(int i) { result = getChildExpr(i) }
0 commit comments