UNPKG
tsoa-custom-decorators
Version:
latest (1.1.10-custom-decorators)
1.1.10-custom-decorators
1.1.9-custom-decorators
1.1.8-custom-decorators
Build swagger-compliant REST APIs using TypeScript and Node
github.com/lukeautry/tsoa
lukeautry/tsoa
tsoa-custom-decorators
/
src
/
interfaces
/
controller.ts
13 lines
(9 loc)
•
239 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
export
class
Controller
{
private
statusCode
?:
number
=
undefined
;
public
getStatus
(
) {
return
this
.
statusCode
; }
public
setStatus
(
statusCode
:
number
) {
this
.
statusCode
= statusCode; } }