CodeQL library for JavaScript
codeql/javascript-all 0.3.0-dev (changelog, source)
Search

Module Promises

Common predicates shared between type-tracking and data-flow for promises.

Import path

import javascript

Predicates

errorProp

Gets the pseudo-field used to describe rejected values in a promise.

valueProp

Gets the pseudo-field used to describe resolved values in a promise.

Classes

PromiseProps

A property set containing the pseudo-properites of a promise object.