@xylabs/object
Advanced tools
Comparing version 2.89.3 to 2.90.0
@@ -14,9 +14,9 @@ { | ||
"dependencies": { | ||
"@xylabs/assert": "^2.14.3", | ||
"@xylabs/logger": "^2.14.3", | ||
"@xylabs/promise": "^2.14.3" | ||
"@xylabs/assert": "^2.15.0", | ||
"@xylabs/logger": "^2.15.0", | ||
"@xylabs/promise": "^2.15.0" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.2.42", | ||
"@xylabs/tsconfig": "^3.2.42", | ||
"@xylabs/ts-scripts-yarn3": "^3.4.1", | ||
"@xylabs/tsconfig": "^3.4.1", | ||
"typescript": "^5.3.3" | ||
@@ -62,4 +62,4 @@ }, | ||
"sideEffects": false, | ||
"version": "2.89.3", | ||
"version": "2.90.0", | ||
"type": "module" | ||
} |
@@ -46,4 +46,4 @@ import { assertEx } from '@xylabs/assert' | ||
return noUndefined(resolvedAssert) | ||
? (assertEx(result, typeof resolvedAssert === 'function' ? resolvedAssert() : resolvedAssert) as TType) | ||
return noUndefined(resolvedAssert) ? | ||
(assertEx(result, typeof resolvedAssert === 'function' ? resolvedAssert() : resolvedAssert) as TType) | ||
: (result as TType) | ||
@@ -50,0 +50,0 @@ } |
@@ -9,5 +9,4 @@ import { Logger } from '@xylabs/logger' | ||
export type BaseParams<TAdditionalParams extends EmptyObject | void = void> = TAdditionalParams extends EmptyObject | ||
? BaseParamsFields & TAdditionalParams | ||
: BaseParamsFields | ||
export type BaseParams<TAdditionalParams extends EmptyObject | void = void> = | ||
TAdditionalParams extends EmptyObject ? BaseParamsFields & TAdditionalParams : BaseParamsFields | ||
@@ -14,0 +13,0 @@ export abstract class Base<TParams extends BaseParams = BaseParams> { |
import { EmptyObject } from './EmptyObject' | ||
export type WithAdditional<T extends EmptyObject | void, TAdditional extends EmptyObject | void = void> = TAdditional extends EmptyObject | ||
? T & TAdditional | ||
: T | ||
export type WithAdditional<T extends EmptyObject | void, TAdditional extends EmptyObject | void = void> = | ||
TAdditional extends EmptyObject ? T & TAdditional : T |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
194472
1164
Updated@xylabs/assert@^2.15.0
Updated@xylabs/logger@^2.15.0
Updated@xylabs/promise@^2.15.0