JS: Recognize DomSanitizer from @angular/core

This commit is contained in:
Asger Feldthaus
2021-01-18 10:54:27 +00:00
parent 545451e602
commit ff1d0cc4c7

View File

@@ -120,7 +120,7 @@ module Angular2 {
/** Gets a reference to a `DomSanitizer` object. */
DataFlow::SourceNode domSanitizer() {
result.hasUnderlyingType("@angular/platform-browser", "DomSanitizer")
result.hasUnderlyingType(["@angular/platform-browser", "@angular/core"], "DomSanitizer")
}
/** A value that is about to be promoted to a trusted HTML or CSS value. */