Function: Route()
function Route(path: string, config?: RouteConfig): (target: any, context: ClassDecoratorContext) => void;
Defined in: src/router/decorators/route.ts:45
Parameters
| Parameter | Type |
|---|---|
path |
string |
config? |
RouteConfig |
Returns
(target: any, context: ClassDecoratorContext): void;
Parameters
| Parameter | Type |
|---|---|
target |
any |
context |
ClassDecoratorContext |
Returns
void