types-ramda
Advanced tools
Comparing version 0.29.1 to 0.29.2
@@ -486,1 +486,21 @@ import { A, M } from 'ts-toolbelt'; | ||
: undefined; | ||
/** | ||
* Recursively Update a deep property from a given path | ||
* | ||
* @param Keys array of keeps into the object | ||
* @param U The object to change | ||
* @param T the next type at the key path | ||
* | ||
* <created by @harris-miller> | ||
*/ | ||
export type DeepModify<Keys extends readonly PropertyKey[], U, T> = | ||
Keys extends [infer K, ...infer Rest] | ||
? K extends keyof U | ||
? Rest extends readonly [] | ||
? Omit<U, K> & Record<K, T> | ||
: Rest extends readonly PropertyKey[] | ||
? Omit<U, K> & Record<K, DeepModify<Rest, U[K], T>> | ||
: never | ||
: never | ||
: never; |
{ | ||
"name": "types-ramda", | ||
"version": "0.29.1", | ||
"version": "0.29.2", | ||
"description": "Dedicated types library for ramda", | ||
@@ -15,3 +15,3 @@ "author": "Harris Miller <harrismillerconsulting@gmail.com>", | ||
"type": "git", | ||
"url": "git://github.com/ramda/ramda.git" | ||
"url": "git://github.com/ramda/types.git" | ||
}, | ||
@@ -36,2 +36,3 @@ "license": "MIT", | ||
], | ||
"sideEffects": false, | ||
"files": [ | ||
@@ -61,4 +62,5 @@ "es" | ||
"tsd": "^0.28.1", | ||
"typescript": "^5.0.2" | ||
"typescript": "^5.0.2", | ||
"xyz": "^4.0.0" | ||
} | ||
} |
# `types-ramda` | ||
**This Repo is very very much a Work in Progress** | ||
## Official types library for ramda | ||
@@ -28,4 +26,4 @@ | ||
We cannot lock the semver to be the same as `ramda`'s since we plan on doing multiple releases to this library to progressively update the types | ||
until they are all correct. So for that reason, we are starting at `0.1.0` and will simply do Minor releases for new changes and Patch release for regression fixes. | ||
until they are all correct. We will keep up with minor releases starting at `0.29.0` up until `1.0.0`. | ||
`@types/ramda` will be updated to latest of this package after every release |
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
242401
6613
9
29