mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-11 20:04:55 +02:00
14 lines
351 B
TypeScript
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 };
|