Files
codeql/javascript/ql/lib/semmle/javascript/heuristics/AdditionalPromises.qll
Andrew Eisenberg 45d1fa7f01 Packaging: Rafactor Javascript core libraries
Extract the external facing `qll` files into the codeql/javascript-all
query pack.
2021-08-25 12:15:56 -07:00

12 lines
379 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 = getCallback(0) }
}