@sinclair/typebox 0.24.37 → 0.24.38
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/package.json +1 -1
- package/typebox.d.ts +1 -1
package/package.json
CHANGED
package/typebox.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export declare type IntersectEvaluate<T extends readonly TSchema[], P extends un
|
|
|
104
104
|
[K in keyof T]: T[K] extends TSchema ? Static<T[K], P> : never;
|
|
105
105
|
};
|
|
106
106
|
export declare type IntersectProperties<T extends readonly TObject[]> = {
|
|
107
|
-
[K in keyof T]: T[K]
|
|
107
|
+
[K in keyof T]: T[K] extends TObject<infer P> ? P : {};
|
|
108
108
|
};
|
|
109
109
|
export interface TIntersect<T extends TObject[] = TObject[]> extends TObject {
|
|
110
110
|
static: IntersectReduce<unknown, IntersectEvaluate<T, this['params']>>;
|