@augment-vir/common
Advanced tools
Comparing version 13.5.0 to 14.0.0
@@ -12,2 +12,7 @@ import { Except, Simplify } from 'type-fest'; | ||
export type Overwrite<T, U> = Pick<T, Exclude<keyof T, keyof U>> & U; | ||
/** | ||
* Require that the NonVoid parameter is not void. If it is void, the ErrorType or an error string | ||
* type is returned. If it not void, the given SuccessType is returned. | ||
*/ | ||
export type RequireNonVoid<NonVoid, SuccessType, ErrorType = 'Input should not be void'> = void extends NonVoid ? (NonVoid extends void ? ErrorType : SuccessType) : SuccessType; | ||
/** Extract the element type out of an array type. */ | ||
@@ -14,0 +19,0 @@ export type ArrayElement<ArrayType extends ReadonlyArray<any>> = ArrayType[number]; |
{ | ||
"name": "@augment-vir/common", | ||
"version": "13.5.0", | ||
"version": "14.0.0", | ||
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common", | ||
@@ -27,3 +27,3 @@ "bugs": { | ||
"dependencies": { | ||
"type-fest": "^3.8.0" | ||
"type-fest": "^3.10.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
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
139838
3274
2
Updatedtype-fest@^3.10.0