mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Delete estraverse.d.ts, which has been replaced by estraverse/index.d.ts (#10972)
This commit is contained in:
22
estraverse/estraverse.d.ts
vendored
22
estraverse/estraverse.d.ts
vendored
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user