Skip to content

es-x/no-promise-withresolvers

disallow the Promise.withResolvers() method

This rule reports ES2024 Promise.withResolvers function as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v7.5.0.

📚 References