Spaces:
Configuration error
Configuration error
File size: 418 Bytes
a053984 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import { ConfigAPI, NodePath, types } from '@babel/core';
interface Value {
value: string;
newValue: string | boolean | number;
literal?: boolean;
}
interface Options {
values: Value[];
}
declare const addJSXAttribute: (api: ConfigAPI, opts: Options) => {
visitor: {
JSXAttribute(path: NodePath<types.JSXAttribute>): void;
};
};
export { Options, Value, addJSXAttribute as default };
|