UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

10 lines (9 loc) 524 B
import type { IApiBaseEntity } from '../interface/api-base-entity.interface'; import type { TErrorStringProperties } from '../type/utility/index'; /** * 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;