@augment-vir/core 31.59.3 → 31.61.0
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.
|
@@ -21,3 +21,14 @@ export type PartialWithNullable<T extends AnyObject> = {
|
|
|
21
21
|
export type PartialWithUndefined<T extends AnyObject> = {
|
|
22
22
|
[Prop in keyof T]?: T[Prop] | undefined;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* Allow `T` to be partial or have `null` as the value for any of its keys.
|
|
26
|
+
*
|
|
27
|
+
* @category Type
|
|
28
|
+
* @category Object
|
|
29
|
+
* @category Package : @augment-vir/common
|
|
30
|
+
* @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
|
|
31
|
+
*/
|
|
32
|
+
export type PartialWithNull<T extends AnyObject> = {
|
|
33
|
+
[Prop in keyof T]?: T[Prop] | null;
|
|
34
|
+
};
|