@atlaskit/eslint-plugin-design-system
Version:
The essential plugin for use with the Atlassian Design System.
9 lines (8 loc) • 383 B
TypeScript
import type { Rule } from 'eslint';
import { type JSXElement, type JSXIdentifier, type JSXOpeningElement } from 'eslint-codemod-utils';
export type ImportedJSXElement = JSXElement & Rule.NodeParentExtension & {
openingElement: JSXOpeningElement & {
name: JSXIdentifier;
};
};
export declare function isImportedJSXElement(node: Rule.Node): node is ImportedJSXElement;