@tsed/common
Version:
A TypeScript Framework on top of Express
19 lines (18 loc) • 492 B
TypeScript
/**
* Add a example metadata on the decorated element.
*
* @decorator
* @swagger
* @schema
* @methodDecorator
* @classDecorator
* @ignore
* @deprecated Since v6. Use @Example decorator from @tsed/schema instead of.
* @param name
* @param description
*/
export declare function Example(name: string | any, description: string): Function;
/**
* @deprecated Since v6. Use @Example decorator from @tsed/schema instead of.
*/
export declare function Example(example: any): Function;