# es/no-promise-any
disallow
Promise.any
function andAggregateError
class
- ✅ The following configurations enable this rule:
plugin:es/no-new-in-esnext
This rule reports ES2021 Promise.any
(opens new window) as errors.
This proposal includes the following two:
Promise.any
functionAggregateError
class
# Examples
⛔ Examples of incorrect code for this rule: