@types/ramda
Advanced tools
Comparing version 0.27.14 to 0.27.15
{ | ||
"name": "@types/ramda", | ||
"version": "0.27.14", | ||
"version": "0.27.15", | ||
"description": "TypeScript definitions for ramda", | ||
@@ -164,4 +164,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "467d1e53dc48ac51b185e281ddb0c60aaf0e3295b681c21c97e26960c86c19ae", | ||
"typesPublisherContentHash": "15a4e5b441c6559118e8e1612c0bdf55f04b0b47a1f02ac1d0232c2a2f8dc1ba", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 30 Jul 2020 16:27:04 GMT | ||
* Last updated: Tue, 08 Sep 2020 06:37:51 GMT | ||
* Dependencies: [@types/ts-toolbelt](https://npmjs.com/package/@types/ts-toolbelt) | ||
@@ -14,0 +14,0 @@ * Global values: `R` |
@@ -439,2 +439,9 @@ import { A, O, T } from "ts-toolbelt"; | ||
/** | ||
* If `T` is a union, `T[keyof T]` (cf. `map` and `values` in `index.d.ts`) contains the types of object values that are common across the union (i.e., an intersection). | ||
* Because we want to include the types of all values, including those that occur in some, but not all members of the union, we first define `ValueOfUnion`. | ||
* @see https://stackoverflow.com/a/60085683 | ||
*/ | ||
export type ValueOfUnion<T> = T extends infer U ? U[keyof U] : never; | ||
export {}; |
Sorry, the diff of this file is too big to display
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
160810
3288