1 | import ts = require('typescript');
|
2 | import { Change } from './change';
|
3 | /**
|
4 | * Find all nodes from the AST in the subtree of node of SyntaxKind kind.
|
5 | * @param node
|
6 | * @param kind
|
7 | * @param max The maximum number of items to return.
|
8 | * @return all nodes of kind, or [] if none is found
|
9 | */
|
10 | export declare function findNodes(node: ts.Node, kind: ts.SyntaxKind, max?: number): ts.Node[];
|
11 | export declare function removeAstNode(node: ts.Node): Change;
|