Type alias MockIdSpecification<T>

MockIdSpecification<T>: {
    generate?: (() => T);
    stringify?: ((t: T) => string);
}

Type Parameters

  • T

Type declaration

  • Optional generate?: (() => T)
      • (): T
      • Returns T

  • Optional stringify?: ((t: T) => string)
      • (t: T): string
      • Parameters

        • t: T

        Returns string

Generated using TypeDoc