JS: Remove unnecessary override in OriginalExportDeclaration

This commit is contained in:
Asger F
2025-11-21 12:42:10 +01:00
parent 3a393ecd54
commit 94566e5e1e

View File

@@ -838,10 +838,4 @@ class SelectiveReExportDeclaration extends ReExportDeclaration, ExportNamedDecla
*/
class OriginalExportDeclaration extends ExportDeclaration {
OriginalExportDeclaration() { not this instanceof ReExportDeclaration }
overlay[global]
override DataFlow::Node getSourceNode(string name) {
result = this.(ExportDefaultDeclaration).getSourceNode(name) or
result = this.(ExportNamedDeclaration).getSourceNode(name)
}
}