File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
javascript/ql/lib/semmle/javascript/security/dataflow Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ private class ExternalRemoteFlowSource extends RemoteFlowSource {
186
186
}
187
187
188
188
/**
189
- * Angular @Input() decorator on a member declaration.
189
+ * An Angular @Input() decorator on a member declaration.
190
190
*/
191
191
class InputMember extends MemberDeclaration {
192
192
InputMember ( ) {
@@ -199,7 +199,7 @@ class InputMember extends MemberDeclaration {
199
199
}
200
200
201
201
/**
202
- * Use of an Angular @Input() member, modelled as `InputMember`.
202
+ * A use of an Angular @Input() member, modeled as `InputMember`.
203
203
*/
204
204
class InputMemberUse extends DataFlow:: Node {
205
205
InputMemberUse ( ) {
@@ -215,8 +215,8 @@ class InputMemberUse extends DataFlow::Node {
215
215
/**
216
216
* A remote flow source that is a member of an Angular component class.
217
217
*/
218
- private class AngularInputUse extends RemoteFlowSource {
219
- AngularInputUse ( ) { this instanceof InputMemberUse }
218
+ private class AngularInputUse extends RemoteFlowSource , InputMemberUse {
219
+ AngularInputUse ( ) { this = this }
220
220
221
221
override string getSourceType ( ) { result = "Angular @Input()" }
222
222
}
You can’t perform that action at this time.
0 commit comments