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
This expression is not callable.
Each member of the union type '{ <S extends Fizz>(predicate: (value: Fizz, index: number, array: Fizz[]) => value is S, thisArg?: any): S[]; (predicate: (value: Fizz, index: number, array: Fizz[]) => unknown, thisArg?: any): Fizz[]; } | { ...; }' has signatures, but none of those signatures are compatible with each other.
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
💻 Code
🙁 Actual behavior
Compilation fails with the following error:
🙂 Expected behavior
Compilation succeeds, as it does for map and several other array functions.
🔖 Useful links