inferred-types 0.28.2 → 0.28.3

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
@@ -838,7 +838,7 @@ interface MapConfig<IR extends OptRequired | undefined = undefined, D extends Ma
838
838
  * Note: _this configuration does _not_ yet include the actual mapping
839
839
  * configuration between the input and output._
840
840
  */
841
- declare type FinalizedMapConfig<IR extends OptRequired, D extends MapCardinalityIllustrated, OR extends OptRequired> = Required<MapConfig<IR, D, OR>> & {
841
+ declare type FinalizedMapConfig<IR extends OptRequired = MapIR<DefaultOneToManyMapping>, D extends MapCardinalityIllustrated = MapCard<DefaultOneToManyMapping>, OR extends OptRequired = MapOR<DefaultOneToManyMapping>> = Required<MapConfig<IR, D, OR>> & {
842
842
  finalized: true;
843
843
  };
844
844
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inferred-types",
3
- "version": "0.28.2",
3
+ "version": "0.28.3",
4
4
  "description": "Functions which provide useful type inference on TS projects",
5
5
  "license": "MIT",
6
6
  "author": "Ken Snyder<ken@ken.net>",
@@ -45,9 +45,9 @@ export interface MapConfig<
45
45
  * configuration between the input and output._
46
46
  */
47
47
  export type FinalizedMapConfig<
48
- IR extends OptRequired,
49
- D extends MapCardinalityIllustrated,
50
- OR extends OptRequired
48
+ IR extends OptRequired = MapIR<DefaultOneToManyMapping>,
49
+ D extends MapCardinalityIllustrated = MapCard<DefaultOneToManyMapping>,
50
+ OR extends OptRequired = MapOR<DefaultOneToManyMapping>
51
51
  > = Required<MapConfig<IR, D, OR>> & { finalized: true };
52
52
 
53
53
  /**