Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed Dec 23, 2024
1 parent 062e3d8 commit ad7d853
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ export function createPipe(...operations: PipeOperation<any, any>[]): any {
) as Last<PipeOperation<any, any>[]>;
};

result.add = (operation: PipeOperation<any, any>) => {
return createPipe(result, operation);
}

result.add = (operation: PipeOperation<any, any>) => createPipe(result, operation);
return result;
}

0 comments on commit ad7d853

Please sign in to comment.