Delete estraverse.d.ts, which has been replaced by estraverse/index.d.ts (#10972)

This commit is contained in:
Andy
2016-09-06 07:48:59 -07:00
committed by Masahiro Wakame
parent 1467a5eea8
commit 52b4608567

View File

@@ -1,22 +0,0 @@
// Type definitions for estraverse
// Project: https://github.com/estools/estraverse
// Definitions by: Sanex3339 <https://github.com/sanex3339>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module 'estraverse' {
export interface Visitor {
enter?: (node: any, parentNode: any) => any;
leave?: (node: any, parentNode: any) => any;
fallback?: string;
keys?: {};
}
export enum VisitorOption {
Skip, Break, Remove
}
export function traverse (ast: any, visitor: Visitor): any;
export function replace (ast: any, visitor: Visitor): any;
}