@namecheap/tsoa-cli
Version:
Build swagger-compliant REST APIs using TypeScript and Node
14 lines (13 loc) • 580 B
TypeScript
import { Node, TypeNode } from 'typescript';
export declare class GenerateMetadataError extends Error {
constructor(message?: string, node?: Node | TypeNode, onlyCurrent?: boolean);
}
export declare class GenerateMetaDataWarning {
private message;
private node;
private onlyCurrent;
constructor(message: string, node: Node | TypeNode, onlyCurrent?: boolean);
toString(): string;
}
export declare function prettyLocationOfNode(node: Node | TypeNode): string;
export declare function prettyTroubleCause(node: Node | TypeNode, onlyCurrent?: boolean): string;