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
It's a typescript issue. Not all functions are correctly typed to support currying and placeholders. It's been like that since we migrated the community-defined and supported types from @types/ramda over to here
R.replace is one example where it's typed for general currying, but not for use with the placeholder, and that needs to get fixed
const greet = R.replace('{name}', R.__, 'Hello, {name}!');
greet('Alice'); //=> 'Hello, Alice!'
This is example in docs
The text was updated successfully, but these errors were encountered: