UNPKG

@typescript-eslint/typescript-estree

Version:

A parser that converts TypeScript source code into an ESTree compatible form

10 lines (9 loc) 292 B
import * as ts from 'typescript'; import type { TSESTree } from './ts-estree'; /** * Convert all comments for the given AST. * @param ast the AST object * @returns the converted ESTreeComment * @private */ export declare function convertComments(ast: ts.SourceFile): TSESTree.Comment[];