Get
constGet: (path) => (target,propertyKey,descriptor) =>void
Defined in: src/decorators.ts:120
Decorator: Binds a method to the GET HTTP verb.
Parameters
Section titled “Parameters”string = "/"
Returns
Section titled “Returns”(
target,propertyKey,descriptor):void
Parameters
Section titled “Parameters”target
Section titled “target”any
propertyKey
Section titled “propertyKey”string
descriptor
Section titled “descriptor”PropertyDescriptor
Returns
Section titled “Returns”void