Get: (path: string, options?: { contentType: string }) => MethodDecorator = ...
Type declaration
- (path: string, options?: { contentType: string }): MethodDecorator
Parameters
- path: string
Optional
options: { contentType: string }
Returns MethodDecorator
Decorator
Get
Description
A method decorator for defining a GET route.