Page MenuHomec4science

index.d.ts
No OneTemporary

File Metadata

Created
Sun, Jul 14, 15:56

index.d.ts

import { NodePath, types } from '@babel/core';
declare type tag = 'title' | 'desc';
interface Options {
tag: tag | null;
}
interface State {
opts: Options;
}
declare const plugin: () => {
visitor: {
JSXElement(path: NodePath<types.JSXElement>, state: State): void;
};
};
export { Options, plugin as default };

Event Timeline