1 | import { ConfigAPI, NodePath, types } from '@babel/core';
|
2 |
|
3 | interface Options {
|
4 | elements: string[];
|
5 | attributes: string[];
|
6 | }
|
7 | declare const removeJSXAttribute: (_: ConfigAPI, opts: Options) => {
|
8 | visitor: {
|
9 | JSXOpeningElement(path: NodePath<types.JSXOpeningElement>): void;
|
10 | };
|
11 | };
|
12 |
|
13 | export { Options, removeJSXAttribute as default };
|