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
Compile error on Typescript 4.2 with latest published ts-toolbelt (8.0.7) when installed alongside @types/ramda@0.27.6.
It appears that you cannot use an up-to-date version of ts-toolbelt with any other library that depends on a different version.
Reproduce the bug
Make new Node.js project and run:
npm i typescript ts-toolbelt ramda @types/ramda
touch index.ts
index.ts:
import{Function}from'ts-toolbelt';// Simple custom curry function to consume something from ts-toolbelt.exportconstcurry=<Fnextends(...args: any[])=>any>(fn: Fn): Function.Curry<Fn>=>_curryInternal(fn);
馃悶 Bug Report
Describe the bug
Compile error on Typescript 4.2 with latest published ts-toolbelt (8.0.7) when installed alongside
@types/ramda@0.27.6
.It appears that you cannot use an up-to-date version of ts-toolbelt with any other library that depends on a different version.
Reproduce the bug
Make new Node.js project and run:
index.ts:
Run:
Output:
Expected behavior
Project builds successfully
Possible Solution
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: