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
Since v12.0.0-alpha.6, adding a type annotation to a curried function gives the error This function is a curried function where an uncurried function is expected:
typefn2= (int, int) =>intletadd : fn2= (a, b) =>a+bletadd5 : int=>int=add(5, ...)
/// This function is a curried function where an uncurried function is expected