We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca393a9 commit d8e943eCopy full SHA for d8e943e
javascript/ql/lib/semmle/javascript/frameworks/React.qll
@@ -361,7 +361,7 @@ abstract private class SharedReactPreactClassComponent extends ReactComponent in
361
* Note that every class has a constructor: if no explicit constructor
362
* is declared, it has a synthetic default constructor.
363
*/
364
- ConstructorDeclaration getConstructor() { result = ClassDefinition.super.getAMethod() }
+ ConstructorDeclaration getConstructor() { result = ClassDefinition.super.getConstructor() }
365
}
366
367
/**
0 commit comments