@voiceflow/common
Advanced tools
Comparing version 7.18.1 to 7.18.2
@@ -27,4 +27,3 @@ export declare const unique: <T>(items: T[]) => T[]; | ||
export declare const filterAndGetLastRemovedValue: <T>(list: T[], filterFunc: (item: T) => boolean) => [T[], T | null]; | ||
declare type ArrayElem<A> = A extends Array<infer Elem> ? Elem : never; | ||
export declare const inferUnion: <T>(array: T) => ArrayElem<T>[]; | ||
export {}; | ||
export declare type UnionArrays<A> = Array<A extends Array<infer Elem> ? Elem : never>; | ||
export declare const inferUnion: <T>(array: T) => UnionArrays<T>; |
@@ -27,4 +27,3 @@ export declare const unique: <T>(items: T[]) => T[]; | ||
export declare const filterAndGetLastRemovedValue: <T>(list: T[], filterFunc: (item: T) => boolean) => [T[], T | null]; | ||
declare type ArrayElem<A> = A extends Array<infer Elem> ? Elem : never; | ||
export declare const inferUnion: <T>(array: T) => ArrayElem<T>[]; | ||
export {}; | ||
export declare type UnionArrays<A> = Array<A extends Array<infer Elem> ? Elem : never>; | ||
export declare const inferUnion: <T>(array: T) => UnionArrays<T>; |
{ | ||
"name": "@voiceflow/common", | ||
"description": "Junk drawer of utility functions", | ||
"version": "7.18.1", | ||
"version": "7.18.2", | ||
"author": "Voiceflow", | ||
@@ -76,3 +76,3 @@ "bugs": { | ||
}, | ||
"gitHead": "6fadc43bd455442d4d8b2455ad09860203848122" | ||
"gitHead": "663b0f893e1cc747f28963f2ae12a83223cacc03" | ||
} |
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
380283
6767