Files
2026-03-06 03:26:11 +07:00

14 lines
351 B
TypeScript

import { ConfigAPI, NodePath, types } from '@babel/core';
interface Options {
elements: string[];
attributes: string[];
}
declare const removeJSXAttribute: (_: ConfigAPI, opts: Options) => {
visitor: {
JSXOpeningElement(path: NodePath<types.JSXOpeningElement>): void;
};
};
export { Options, removeJSXAttribute as default };