mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
JS: Treat Angular2 ElementRef.nativeElement as a DOM value
This commit is contained in:
@@ -547,4 +547,10 @@ module Angular2 {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
private class DomValueSources extends DOM::DomValueSource::Range {
|
||||
DomValueSources() {
|
||||
this = API::Node::ofType("@angular/core", "ElementRef").getMember("nativeElement").asSource()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user