UNPKG

382 BTypeScriptView Raw
1import * as ts from 'typescript';
2import { TSESTree } from './ts-estree';
3/**
4 * Convert all comments for the given AST.
5 * @param ast the AST object
6 * @param code the TypeScript code
7 * @returns the converted ESTreeComment
8 * @private
9 */
10export declare function convertComments(ast: ts.SourceFile, code: string): TSESTree.Comment[];
11//# sourceMappingURL=convert-comments.d.ts.map
\No newline at end of file