@xylabs/object
Advanced tools
Comparing version
import { AnyObject } from './AnyObject'; | ||
export declare const asAnyObject: { | ||
<TType extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise<T>, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
<TType extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
//# sourceMappingURL=asObject.d.ts.map |
@@ -5,6 +5,6 @@ import { TypedObject } from '@xylabs/promise'; | ||
create: <T extends TypedObject>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
<TType extends T>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsObjectFactory.d.ts.map |
@@ -10,7 +10,7 @@ import { AssertExMessageFunc } from '@xylabs/assert'; | ||
export declare const AsTypeFactory: { | ||
create: <T_1 extends AnyNonPromise<T>>(typeCheck: TypeCheck<T_1>) => { | ||
<TType extends T_1>(value: AnyNonPromise, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T_1>(value: AnyNonPromise, assert: StringOrAlertFunction<T_1>, config?: TypeCheckConfig): TType_1; | ||
create: <T extends AnyNonPromise>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: AnyNonPromise, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: AnyNonPromise, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsTypeFactory.d.ts.map |
import { AnyObject } from './AnyObject'; | ||
export declare const asAnyObject: { | ||
<TType extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise<T>, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
<TType extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
//# sourceMappingURL=asObject.d.ts.map |
@@ -5,6 +5,6 @@ import { TypedObject } from '@xylabs/promise'; | ||
create: <T extends TypedObject>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: import("@xylabs/promise").AnyNonPromise<T_1>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: import("@xylabs/promise").AnyNonPromise<T_1>, assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
<TType extends T>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsObjectFactory.d.ts.map |
@@ -10,7 +10,7 @@ import { AssertExMessageFunc } from '@xylabs/assert'; | ||
export declare const AsTypeFactory: { | ||
create: <T_1 extends AnyNonPromise<T>>(typeCheck: TypeCheck<T_1>) => { | ||
<TType extends T_1>(value: AnyNonPromise, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T_1>(value: AnyNonPromise, assert: StringOrAlertFunction<T_1>, config?: TypeCheckConfig): TType_1; | ||
create: <T extends AnyNonPromise>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: AnyNonPromise, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: AnyNonPromise, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsTypeFactory.d.ts.map |
@@ -14,9 +14,9 @@ { | ||
"dependencies": { | ||
"@xylabs/assert": "^3.1.13", | ||
"@xylabs/logger": "^3.1.13", | ||
"@xylabs/promise": "^3.1.13" | ||
"@xylabs/assert": "^3.2.0", | ||
"@xylabs/logger": "^3.2.0", | ||
"@xylabs/promise": "^3.2.0" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.9.1", | ||
"@xylabs/tsconfig": "^3.9.1", | ||
"@xylabs/ts-scripts-yarn3": "^3.10.0", | ||
"@xylabs/tsconfig": "^3.10.0", | ||
"typescript": "^5.4.5" | ||
@@ -62,4 +62,4 @@ }, | ||
"sideEffects": false, | ||
"version": "3.1.13", | ||
"version": "3.2.0", | ||
"type": "module" | ||
} |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
406837
39.25%396
45.59%2958
39.4%Updated
Updated
Updated