space-lift
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0-beta.5
@@ -17,7 +17,7 @@ import { Draft } from './immupdate'; | ||
*/ | ||
append(item: T[number]): ArrayWrapper<T[number][]>; | ||
append(item: T[number]): ArrayWrapper<T>; | ||
/** | ||
* Appends an Array of items at the end of the Array. | ||
*/ | ||
appendAll(items: ReadonlyArray<T[number]>): ArrayWrapper<unknown[]>; | ||
appendAll(items: ReadonlyArray<T[number]>): ArrayWrapper<T>; | ||
/** | ||
@@ -24,0 +24,0 @@ * Filters all the falsy elements out of this Array. |
@@ -14,3 +14,3 @@ import { ArrayWrapper } from './array'; | ||
<T>(obj: SetWrapper<T>): SetWrapper<T>; | ||
/** lift won't wrap primitives */ | ||
/** lift won't wrap primitives and some other non container-like objects */ | ||
<T extends AtomicObject>(obj: T): T; | ||
@@ -17,0 +17,0 @@ /** Wraps an Array to provide a richer API. Unwrap with .value() **/ |
@@ -17,7 +17,7 @@ import { Draft } from './immupdate'; | ||
*/ | ||
append(item: T[number]): ArrayWrapper<T[number][]>; | ||
append(item: T[number]): ArrayWrapper<T>; | ||
/** | ||
* Appends an Array of items at the end of the Array. | ||
*/ | ||
appendAll(items: ReadonlyArray<T[number]>): ArrayWrapper<unknown[]>; | ||
appendAll(items: ReadonlyArray<T[number]>): ArrayWrapper<T>; | ||
/** | ||
@@ -24,0 +24,0 @@ * Filters all the falsy elements out of this Array. |
@@ -14,3 +14,3 @@ import { ArrayWrapper } from './array'; | ||
<T>(obj: SetWrapper<T>): SetWrapper<T>; | ||
/** lift won't wrap primitives */ | ||
/** lift won't wrap primitives and some other non container-like objects */ | ||
<T extends AtomicObject>(obj: T): T; | ||
@@ -17,0 +17,0 @@ /** Wraps an Array to provide a richer API. Unwrap with .value() **/ |
{ | ||
"name": "space-lift", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.5", | ||
"description": "Idiomatic Typescript Array, Object, Map, Set, Union, Enum utils", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
99615