UNPKG

816 BTypeScriptView Raw
1import type { NodePath } from '@babel/traverse';
2export declare function ignore<T>(path: NodePath<T>): void;
3export declare const shallowIgnoreVisitors: {
4 FunctionDeclaration: {
5 enter: typeof ignore;
6 };
7 FunctionExpression: {
8 enter: typeof ignore;
9 };
10 Class: {
11 enter: typeof ignore;
12 };
13 IfStatement: {
14 enter: typeof ignore;
15 };
16 WithStatement: {
17 enter: typeof ignore;
18 };
19 SwitchStatement: {
20 enter: typeof ignore;
21 };
22 CatchClause: {
23 enter: typeof ignore;
24 };
25 Loop: {
26 enter: typeof ignore;
27 };
28 ExportNamedDeclaration: {
29 enter: typeof ignore;
30 };
31 ExportDefaultDeclaration: {
32 enter: typeof ignore;
33 };
34 ConditionalExpression: {
35 enter: typeof ignore;
36 };
37};