UNPKG

@namecheap/tsoa-cli

Version:

Build swagger-compliant REST APIs using TypeScript and Node

4 lines (3 loc) 289 B
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[];