Make visitor functions public

This commit is contained in:
Ron Buckton 2017-02-07 17:21:29 -08:00
parent db23ca7c8b
commit fc2cf2f78f
2 changed files with 526 additions and 519 deletions

View File

@ -3935,6 +3935,13 @@
*/
export type FileTransformer = (node: SourceFile) => SourceFile;
export type VisitResult<T extends Node> = T | T[];
/**
* A function that accepts and possible transforms a node.
*/
export type Visitor = (node: Node) => VisitResult<Node>;
export interface Printer {
/**
* Print a node and its subtree as-is, without any emit transformations.

File diff suppressed because it is too large Load Diff