typescript-rest-swagger
Version:
Generate Swagger files from a typescript-rest project
6 lines (5 loc) • 379 B
TypeScript
import * as ts from 'typescript';
export declare function getJSDocDescription(node: ts.Node): string;
export declare function getJSDocTag(node: ts.Node, tagName: string): string;
export declare function isExistJSDocTag(node: ts.Node, tagName: string): boolean;
export declare function getFirstMatchingJSDocTagName(node: ts.Node, isMatching: (t: ts.JSDocTag) => boolean): string;