UNPKG

@ganbarodigital/ts-lib-value-objects

Version:

Helps you create value objects and refined types for safer software

13 lines 487 B
import { RefinedPrimitive } from "./RefinedPrimitive"; /** * RefinedString is a base class for defining a subset of strings. * 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 RefinedString extends RefinedPrimitive<string> { [Symbol.toPrimitive](hint: string): string | null; } //# sourceMappingURL=RefinedString.d.ts.map