UNPKG

eslint-codemod-utils

Version:

A collection of AST helper functions for more complex ESLint rule fixes.

4 lines (3 loc) 290 B
import type { JSXElement } from 'estree-jsx'; import type { StringableASTNode } from '../types'; export declare const jsx: (type: string | ((...args: any[]) => StringableASTNode<JSXElement>), props: Record<string, unknown>, ...children: any[]) => StringableASTNode<JSXElement> | undefined;