end-of-semester-report/node_modules/@unified-latex/unified-latex-util-comments/index.d.ts
2025-05-14 16:14:35 +07:00

20 lines
329 B
TypeScript

import * as Ast from '@unified-latex/unified-latex-types';
/**
* Returns a new AST with all comments removed. Care is taken to preserve whitespace.
* For example
* ```
* x%
* y
* ```
* becomes `xy` but
* ```
* x %
* y
* ```
* becomes `x y`
*/
export declare function deleteComments(ast: Ast.Ast): void;
export { }