ctx-core 5.0.0 → 5.0.1

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.
@@ -2,4 +2,4 @@ export declare type a_nowrap_T<I> =
2
2
  I
3
3
  |readonly I[]
4
4
  |readonly I[][]
5
- export declare type ANowrapT = a_nowrap_T
5
+ export declare type ANowrapT<I> = a_nowrap_T<I>
@@ -3,7 +3,7 @@ import type { map_fn_T } from '../map_fn/index.js'
3
3
  * Returns function that returns map of calls to fn_a applying in_arg_a with ...arg_a_
4
4
  */
5
5
  export declare function map_apply_<Arg, O>(
6
- fn_a:map_fn_T[],
6
+ fn_a:map_fn_T<Arg, O>[],
7
7
  in_arg_a?:Arg[]
8
8
  ):(...fn_arg_a:Arg[])=>O[]
9
9
  export declare type map_apply_T<Arg, O> = (...fn_arg_a:Arg[])=>O[]
@@ -6,7 +6,7 @@ import { concat } from '../concat/index.js'
6
6
  * @returns {(...fn_arg_a:unknown[])=>unknown[]}
7
7
  */
8
8
  export function map_apply_(fn_a, in_arg_a = []) {
9
- return (...fn_arg_a)=>fn_a.map((fn)=>fn(...concat(in_arg_a, fn_arg_a)))
9
+ return (...fn_arg_a)=>fn_a.map(fn=>fn(...concat(in_arg_a, fn_arg_a)))
10
10
  }
11
11
  export {
12
12
  map_apply_ as map_fn_apply_fn,
@@ -15,8 +15,8 @@ export declare type wrap_a_T<I> =
15
15
  I extends readonly unknown[]
16
16
  ? I
17
17
  : readonly I[]
18
- export declare type wrap_a1_T = wrap_a_T
19
- export declare type wrap_a1_type = wrap_a_T
18
+ export declare type wrap_a1_T<I> = wrap_a_T<I>
19
+ export declare type wrap_a1_type<I> = wrap_a_T<I>
20
20
  export declare type wrap_a_T2<I> =
21
21
  |readonly I[]
22
22
  |readonly I[][]
@@ -3,4 +3,4 @@ export declare type wrap_a_item_T<I> =
3
3
  wrap_a_T<I> extends readonly (infer O)[][]
4
4
  ? O
5
5
  : never
6
- export declare type wrap_a1_item_type = wrap_a_item_T
6
+ export declare type wrap_a1_item_type<I> = wrap_a_item_T<I>
@@ -14,4 +14,4 @@ export declare type wrap_aa_T<I> = (
14
14
  : I extends readonly unknown[]
15
15
  ? readonly I[]
16
16
  : readonly I[][])
17
- export declare type wrap_aa_type = wrap_aa_T
17
+ export declare type wrap_aa_type<I> = wrap_aa_T<I>
@@ -3,4 +3,4 @@ export declare type wrap_aa_item_T<I> =
3
3
  wrap_aa_T<I> extends readonly (infer O)[][]
4
4
  ? O
5
5
  : never
6
- export declare type wrapA2ItemT = wrap_aa_item_T
6
+ export declare type wrapA2ItemT<I> = wrap_aa_item_T<I>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctx-core",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "ctx-core core library",
5
5
  "keywords": [
6
6
  "ctx-core",