@nestjs/swagger
Version:
Nest - modern, fast, powerful node.js web framework (@swagger)
7 lines (6 loc) • 536 B
TypeScript
import * as ts from 'typescript';
export declare function getDecoratorOrUndefinedByNames(names: string[], decorators: ts.NodeArray<ts.Decorator>): ts.Decorator | undefined;
export declare function getTypeReferenceAsString(type: ts.Type, typeChecker: ts.TypeChecker): string;
export declare function isPromiseOrObservable(type: string): boolean;
export declare function hasPropertyKey(key: string, properties: ts.PropertyAssignment[]): boolean;
export declare function replaceImportPath(typeReference: string, fileName: string): string;