Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
TypeScript thinks that is of type , when it should be . https://www.typescriptlang.org/play/?ts=6.0.2#code/JYWwDg9gTgLgBGAygUxjANsuAzKERwBEYAtAM6obKEDcAUHQMYQB2Z82wmZcAvHAG1CAQwB0MAB4xCAGiIAjcVMIBdek1bs4UZGQCu6eP2EB3YcHhJKmABSducgN504cEMLBhkUAFxw7XMgswiDIAJR8AHw4gcGhosAsACbIEgDy2DYihGEyLnDMLIx6UDpFAJ5+AEx5AL5h9EA I believe it has to do with the two overloads for the signature in . If I remove the first (legacy) one, or flip their order, the issue goes away.
Repository: sindresorhus/p-settle. Description: Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency Stars: 96, Forks: 11. Primary language: JavaScript. Languages: JavaScript (76.9%), TypeScript (23.1%). License: MIT. Latest release: v5.2.1 (4mo ago). Open PRs: 0, open issues: 0. Last activity: 4mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, pirosikick, Richienb, tiagomapmarques, ValentinH, ch-jobor.