@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
10 lines (9 loc) • 514 B
TypeScript
import { IApiBaseEntity } from '../../interface/api-base-entity.interface';
import { TErrorStringProperties } from '../../type/utility';
/**
* Generates a formatted error string with the entity name
* @param {TErrorStringProperties<T>} properties - The error string configuration options
* @returns {string} The formatted error string with entity name substituted
* @template T - The entity type
*/
export declare function ErrorString<T extends IApiBaseEntity>(properties: TErrorStringProperties<T>): string;