inferred-types 0.53.6 → 0.53.7

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.
@@ -10085,6 +10085,10 @@ type NumericKeys<TList extends Tuple> = Process$p<TList> extends readonly number
10085
10085
  type _Get<T, K, Acc = never> = K extends `${infer A}.${infer B}` ? A extends keyof T ? _Get<T[A], B, _Get<T[A], B>> : Acc : K extends keyof T ? _Get<T[K], K, T[K]> : Acc;
10086
10086
  /**
10087
10087
  * **Get**`<TContainer,TDotPath,[TDefVal]>`
10088
+ *
10089
+ * Provides a type utility which allows reaching into
10090
+ * a container using a _dot path_ to get the type
10091
+ * somewhere inside the parent structure.
10088
10092
  */
10089
10093
  type Get$1<TContainer, TDotPath, TDefVal = undefined> = IsNever<_Get<TContainer, TDotPath>> extends true ? TDefVal : _Get<TContainer, TDotPath> extends undefined ? TDefVal : _Get<TContainer, TDotPath>;
10090
10094
 
@@ -11668,6 +11672,8 @@ declare function createFnWithProps<TArgs extends readonly unknown[], TReturn ext
11668
11672
  * // { foo: 1; bar: number; baz: number }
11669
11673
  * const fooBarBaz = defineObj({foo: 1})({bar: 2, baz: 3});
11670
11674
  * ```
11675
+ *
11676
+ * **Related:** `defineObject`
11671
11677
  */
11672
11678
  declare function defineObj<N extends Narrowable, TLiteral extends Record<string, N>>(literal?: TLiteral): <N2 extends Narrowable, TWide extends Record<string, N2>>(wide?: TWide) => ExpandDictionary<RemoveIndex<TLiteral> & (IsNonEmptyObject<TWide> extends true ? Widen<TWide> : EmptyObject)>;
11673
11679