@ganbarodigital/ts-lib-value-objects
Version:
Helps you create value objects and refined types for safer software
13 lines • 489 B
TypeScript
import { RefinedPrimitive } from "./RefinedPrimitive";
/**
* RefinedNumber is a base class for defining a subset of numbers.
* The subset is defined by a contract / specification, and enforced
* by a DataGuarantee.
*
* The DataGuarantee and OnError handler are passed into the base class's
* constructor().
*/
export declare class RefinedNumber extends RefinedPrimitive<number> {
[Symbol.toPrimitive](hint: string): string | number;
}
//# sourceMappingURL=RefinedNumber.d.ts.map