Closed redmundas closed 5 years ago
Hi, you need to hint TS to get proper type, for example:
const test = pipe(head<"1", "general">())(list);
// ^^^^^^^^^^^^^^^^^^
or its shortcut:
const test = pipe(head())(list);
// ^^
So I have a similar code to this:
and it produces this error: