Update javascript/ql/lib/semmle/javascript/frameworks/React.qll

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Asger F
2025-09-09 08:36:25 +02:00
committed by GitHub
parent ca393a9afe
commit d8e943ea05

View File

@@ -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() }
}
/**