smappy
Version:
A lightweight, profile-based mapping library for NestJS.
11 lines (10 loc) • 354 B
TypeScript
/**
* Marks a class as a mapper and as injectable. (The class should implement the `IMapper` interface.)
*/
export declare function Mapper(): ClassDecorator;
/**
* Utility function to check if a class is a mapper
* @param target Class to check
* @returns Verifies if the class is a mapper
*/
export declare function isMapper(target: any): boolean;