inferred-types 0.30.0 → 0.30.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.
package/dist/index.d.ts CHANGED
@@ -981,7 +981,7 @@ declare type MapFn<I, O, C extends FinalizedMapConfig<OptRequired, MapCardinalit
981
981
  * const mappedOver = inputs.map(m);
982
982
  * ```
983
983
  */
984
- declare type Mapper<I, O, C extends FinalizedMapConfig<OptRequired, MapCardinalityIllustrated, OptRequired>> = {
984
+ declare type Mapper<I = unknown, O = unknown, C extends FinalizedMapConfig<OptRequired, MapCardinalityIllustrated, OptRequired> = FinalizedMapConfig<OptRequired, MapCardinalityIllustrated, OptRequired>> = {
985
985
  input: MapIR<C>;
986
986
  output: MapOR<C>;
987
987
  cardinality: MapCard<C>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inferred-types",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "description": "Functions which provide useful type inference on TS projects",
5
5
  "license": "MIT",
6
6
  "author": "Ken Snyder<ken@ken.net>",
@@ -374,9 +374,13 @@ export type MapFn<
374
374
  * ```
375
375
  */
376
376
  export type Mapper<
377
- I,
378
- O,
379
- C extends FinalizedMapConfig<OptRequired, MapCardinalityIllustrated, OptRequired>
377
+ I = unknown,
378
+ O = unknown,
379
+ C extends FinalizedMapConfig<
380
+ OptRequired,
381
+ MapCardinalityIllustrated,
382
+ OptRequired
383
+ > = FinalizedMapConfig<OptRequired, MapCardinalityIllustrated, OptRequired>
380
384
  > = {
381
385
  input: MapIR<C>;
382
386
  output: MapOR<C>;