You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type '(str: any, index: any) => { index: any; str: any; }' is not assignable to parameter of type '(value: string) => { index: any; str: any; }'.
Target signature provides too few arguments. Expected 2 or more, but got 1.
🔎 Search Terms
fromAsync index
🕗 Version & Regression Information
Array.fromAsynctoesnext#57748Array.fromAsync⏯ Playground Link
https://www.typescriptlang.org/play/?target=99&jsx=0&module=0&ts=5.5.4#code/IIJxEME8DoDMQPYFtgGdIDsDGAKA2gAQDk4RANMQEZEEC6FOqALiBQJYYAmApgB4CUBALwA+AjgDeBDj14VmIAgF9+-ANxA
💻 Code
🙁 Actual behavior
Target signature provides too few arguments. Expected 2 or more, but got 1.
🙂 Expected behavior
indextyped asnumberAdditional information about the issue