mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update javascript/ql/lib/semmle/javascript/frameworks/React.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -361,7 +361,7 @@ abstract private class SharedReactPreactClassComponent extends ReactComponent in
|
||||
* Note that every class has a constructor: if no explicit constructor
|
||||
* is declared, it has a synthetic default constructor.
|
||||
*/
|
||||
ConstructorDeclaration getConstructor() { result = ClassDefinition.super.getAMethod() }
|
||||
ConstructorDeclaration getConstructor() { result = ClassDefinition.super.getConstructor() }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user