File tree Expand file tree Collapse file tree
packages/common/decorators/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export interface ControllerOptions extends ScopeOptions {
3636 *
3737 * @publicApi
3838 */
39- export function Controller ( ) ;
39+ export function Controller ( ) : ClassDecorator ;
4040
4141/**
4242 * Decorator that marks a class as a Nest controller that can receive inbound
@@ -61,7 +61,7 @@ export function Controller();
6161 *
6262 * @publicApi
6363 */
64- export function Controller ( prefix : string ) ;
64+ export function Controller ( prefix : string ) : ClassDecorator ;
6565
6666/**
6767 * Decorator that marks a class as a Nest controller that can receive inbound
@@ -91,7 +91,7 @@ export function Controller(prefix: string);
9191 *
9292 * @publicApi
9393 */
94- export function Controller ( options : ControllerOptions ) ;
94+ export function Controller ( options : ControllerOptions ) : ClassDecorator ;
9595
9696/**
9797 * Decorator that marks a class as a Nest controller that can receive inbound
You can’t perform that action at this time.
0 commit comments