UNPKG
@namecheap/tsoa-cli
Version:
latest (6.6.1)
6.6.1
4.1.7
4.1.6
4.1.5
4.1.4
4.1.3
Build swagger-compliant REST APIs using TypeScript and Node
lukeautry/tsoa
@namecheap/tsoa-cli
/
dist
/
metadataGeneration
/
securityGenerator.d.ts
4 lines
(3 loc)
•
289 B
TypeScript
View Raw
1
2
3
4
import
{
Tsoa
}
from
'@namecheap/tsoa-runtime'
;
import
{
ClassDeclaration
,
MethodDeclaration
,
TypeChecker
}
from
'typescript'
;
export
type
SecurityGenerator
=
(
node
:
ClassDeclaration
|
MethodDeclaration
,
typeChecker
:
TypeChecker
,
inheritedSecurities
?:
Tsoa
.
Security
[]
) =>
Tsoa
.
Security
[];