Extend ImportDeclaration instead of AstNode

This commit is contained in:
Robert
2023-05-30 11:39:47 +01:00
parent b8770a2896
commit e1894afb16

View File

@@ -9,8 +9,8 @@
import javascript
class VSCodeImport extends AstNode {
VSCodeImport() { this.(Import).getImportedPath().getValue() = "vscode" }
class VSCodeImport extends ImportDeclaration {
VSCodeImport() { this.getImportedPath().getValue() = "vscode" }
}
class PureFile extends File {