1 | // Type definitions for eslint-visitor-keys 1.0
|
2 | // Project: https://github.com/eslint/eslint-visitor-keys#readme
|
3 | // Definitions by: Toru Nagashima <https://github.com/mysticatea>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 2.2
|
6 |
|
7 | export interface VisitorKeys {
|
8 | readonly [type: string]: ReadonlyArray<string> | undefined;
|
9 | }
|
10 |
|
11 | export const KEYS: VisitorKeys;
|
12 | export function getKeys(node: {}): ReadonlyArray<string>;
|
13 | export function unionWith(keys: VisitorKeys): VisitorKeys;
|