Files
2026-02-10 01:14:19 +00:00

38 lines
816 B
TypeScript

import type { NodePath } from '@babel/traverse';
export declare function ignore<T>(path: NodePath<T>): void;
export declare const shallowIgnoreVisitors: {
FunctionDeclaration: {
enter: typeof ignore;
};
FunctionExpression: {
enter: typeof ignore;
};
Class: {
enter: typeof ignore;
};
IfStatement: {
enter: typeof ignore;
};
WithStatement: {
enter: typeof ignore;
};
SwitchStatement: {
enter: typeof ignore;
};
CatchClause: {
enter: typeof ignore;
};
Loop: {
enter: typeof ignore;
};
ExportNamedDeclaration: {
enter: typeof ignore;
};
ExportDefaultDeclaration: {
enter: typeof ignore;
};
ConditionalExpression: {
enter: typeof ignore;
};
};