diff --git a/javascript/ql/lib/semmle/javascript/frameworks/Angular2.qll b/javascript/ql/lib/semmle/javascript/frameworks/Angular2.qll index 6a2e0132678..111570a2380 100644 --- a/javascript/ql/lib/semmle/javascript/frameworks/Angular2.qll +++ b/javascript/ql/lib/semmle/javascript/frameworks/Angular2.qll @@ -136,7 +136,7 @@ module Angular2 { /** Gets a reference to a `DomSanitizer` object. */ DataFlow::SourceNode domSanitizer() { - result.hasUnderlyingType(["@angular/platform-browser", "@angular/core"], "DomSanitizer") + result.hasUnderlyingType("@angular/platform-browser", "DomSanitizer") } /** A value that is about to be promoted to a trusted HTML or CSS value. */