Files
codeql/javascript/ql/lib/semmle/javascript/heuristics/AdditionalPromises.qll
2023-05-03 15:31:00 +02:00

12 lines
384 B
Plaintext

/**
* Provides classes that heuristically increase the extent of `StandardLibrary::PromiseDefinition`.
*
* Note: This module should not be a permanent part of the standard library imports.
*/
import javascript
private class PromotedPromiseCandidate extends PromiseDefinition, PromiseCandidate {
override DataFlow::FunctionNode getExecutor() { result = this.getCallback(0) }
}