Skip to content

Commit ab54548

Browse files
authored
Merge pull request #20 from Maur025/feature/fix-pipe-util
Feature/fix pipe util
2 parents e140a25 + e83e432 commit ab54548

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/core-common/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @mauro25/core-common
22

3+
## 1.0.1
4+
5+
### Patch Changes
6+
7+
- fix return of pipe function
8+
39
## 1.0.0
410

511
### Major Changes

packages/core-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maur025/core-common",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"author": "maur025 <mmoyapalli@gmail.com>",
55
"description": "utility library to declare common util class and functions.",
66
"license": "MIT",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2-
export const pipe = <T>(value: T, ...functions: Array<(input: any) => any>) =>
2+
export const pipe = <T>(value: T, ...functions: Array<(input: any) => any>): any =>
33
functions.reduce((accumulator, func) => func(accumulator), value);

0 commit comments

Comments
 (0)