mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
babel-traverse: Add missing typed overload of traverse on Scope
This commit is contained in:
Vendored
+1
@@ -26,6 +26,7 @@ export class Scope {
|
||||
bindings: { [name: string]: Binding; };
|
||||
|
||||
/** Traverse node with current scope and path. */
|
||||
traverse<S>(node: Node | Node[], opts: TraverseOptions<S>, state: S): void;
|
||||
traverse(node: Node | Node[], opts?: TraverseOptions, state?: any): void;
|
||||
|
||||
/** Generate a unique identifier and add it to the current scope. */
|
||||
|
||||
Reference in New Issue
Block a user