defered-branch 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -51,7 +51,7 @@ declare class DeferBranchDynamic<BranchFn extends AnyFn, NoMatchFn extends AnyFn
51
51
  /**
52
52
  * Run the condition to find the first matched branch
53
53
  */
54
- predicate(...args: Parameters<BranchFn>): void;
54
+ predicate(...args: Parameters<ConditionFn>): void;
55
55
  /**
56
56
  * If some branch matched, return its returnValue
57
57
  * @param args arguments to pass to the matched branch
@@ -85,7 +85,7 @@ declare class DeferBranchDynamic<BranchFn extends AnyFn, NoMatchFn extends AnyFn
85
85
  * ## About
86
86
  * @package DeferedBranch
87
87
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
88
- * @version 2.1.1 (Last Update: 2025.09.21 09:04:58.051)
88
+ * @version 2.1.2 (Last Update: 2025.09.21 09:09:48.701)
89
89
  * @license MIT
90
90
  * @link https://github.com/baendlorel/defered-branch
91
91
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -126,7 +126,7 @@ declare const deferedBranch: <BranchFn extends AnyFn = AnyFn, NoMatchFn extends
126
126
  * ## About
127
127
  * @package DeferedBranch
128
128
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
129
- * @version 2.1.1 (Last Update: 2025.09.21 09:04:58.051)
129
+ * @version 2.1.2 (Last Update: 2025.09.21 09:09:48.701)
130
130
  * @license MIT
131
131
  * @link https://github.com/baendlorel/defered-branch
132
132
  * @link https://baendlorel.github.io/ Welcome to my site!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "defered-branch",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "author": {
5
5
  "name": "Kasukabe Tsumugi",
6
6
  "email": "futami16237@gmail.com"