diff --git a/src/pipe.ts b/src/pipe.ts index 291ce0a..391caea 100644 --- a/src/pipe.ts +++ b/src/pipe.ts @@ -40,9 +40,6 @@ export function createPipe(...operations: PipeOperation[]): any { ) as Last[]>; }; - result.add = (operation: PipeOperation) => { - return createPipe(result, operation); - } - + result.add = (operation: PipeOperation) => createPipe(result, operation); return result; }