Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit cd00d20

Browse files
committed
Work around missing types
1 parent 57b517c commit cd00d20

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

types.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
declare module "eslint-scope/lib/pattern-visitor" {
2+
import { Node, Expression, SpreadElement } from "estree";
3+
type Options = {
4+
topLevel: boolean;
5+
rest: boolean;
6+
assignments: any[];
7+
};
8+
class PatternVisitor {
9+
constructor(
10+
options: any,
11+
rootPattern: any,
12+
callback: (p: any, options: Options) => void);
13+
rightHandNodes: Array<Expression | SpreadElement>;
14+
15+
Identifier(node: Node): void;
16+
visit(node: Node): void;
17+
}
18+
export = PatternVisitor;
19+
}

0 commit comments

Comments
 (0)