Effect CommunityEC
Effect Community3y ago
8 replies
Joshua

Understanding `pipeArguments` and Unexpected Argument Error

How does the pipeArguments thing work? Tried

class MyClass {
  pipe() {
    return pipeArguments(this, arguments);
  }
}


Then

// Expected 0 arguments, but got 1
new MyClass().pipe(mappingFunction)


And got Expected 0 arguments, but got 1
Was this page helpful?