apollo-utilities
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,4 +0,4 @@ | ||
export declare type TupleToIntersection<T extends any[]> = T extends [] ? {} : T extends [infer A] ? A : T extends [infer A, infer B] ? A & B : T extends [infer A, infer B, infer C] ? A & B & C : T extends [infer A, infer B, infer C, infer D] ? A & B & C & D : T extends [infer A, infer B, infer C, infer D, infer E] ? A & B & C & D & E : T extends (infer U)[] ? U : any; | ||
export declare type TupleToIntersection<T extends any[]> = T extends [infer A] ? A : T extends [infer A, infer B] ? A & B : T extends [infer A, infer B, infer C] ? A & B & C : T extends [infer A, infer B, infer C, infer D] ? A & B & C & D : T extends [infer A, infer B, infer C, infer D, infer E] ? A & B & C & D & E : T extends (infer U)[] ? U : any; | ||
export declare function mergeDeep<T extends any[]>(...sources: T): TupleToIntersection<T>; | ||
export declare function mergeDeepArray<T>(sources: T[]): T; | ||
//# sourceMappingURL=mergeDeep.d.ts.map |
{ | ||
"name": "apollo-utilities", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Utilities for working with GraphQL ASTs", | ||
@@ -46,3 +46,3 @@ "author": "James Baxley <james@meteor.com>", | ||
}, | ||
"gitHead": "bc740e09d1b40d2186933e4793d8d66ae8e627ef" | ||
"gitHead": "fda77c22a43a472843954903b43bf875b2ed9d60" | ||
} |
@@ -18,3 +18,2 @@ const { hasOwnProperty } = Object.prototype; | ||
export type TupleToIntersection<T extends any[]> = | ||
T extends [] ? {} : | ||
T extends [infer A] ? A : | ||
@@ -21,0 +20,0 @@ T extends [infer A, infer B] ? A & B : |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
558058
8046