UNPKG

356 BTypeScriptView Raw
1/**
2 * Route handler method Decorator. Defines a template to be rendered by the controller.
3 *
4 * For example: `@Render('index')`
5 *
6 * @param template name of the render engine template file
7 *
8 * @see [Model-View-Controller](https://docs.nestjs.com/techniques/mvc)
9 *
10 * @publicApi
11 */
12export declare function Render(template: string): MethodDecorator;