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
/
decorators
/
example.ts
4 lines
(3 loc)
•
84 B
text/typescript
View Raw
1
2
3
4
export
function
Example
<
T
>
(
exampleModel
:
T
)
:
any
{
return
(
)
=
>
{
return
;
}
;
}