Files
flights_web_raw/ClientApp/node_modules/eslint-plugin-react/lib/util/componentUtil.d.ts
T
gnezim 0a5ab058a6 Initial commit: Aeroflot Flights Web - Angular 12 baseline
- Angular 12 application with PrimeNG components
- 5 existing Cypress e2e test suites
- SCSS styling with BEM naming convention
- i18n support (10 languages)
- Leaflet map integration
- Complete component hierarchy and routing structure

This baseline will be used for Angular → React migration.
2026-04-05 18:47:57 +03:00

46 lines
1.4 KiB
TypeScript

/**
* @param {ASTNode} node
* @param {Context} context
* @returns {boolean}
*/
export function isES5Component(node: ASTNode, context: Context): boolean;
/**
* @param {ASTNode} node
* @param {Context} context
* @returns {boolean}
*/
export function isES6Component(node: ASTNode, context: Context): boolean;
/**
* Get the parent ES5 component node from the current scope
* @param {Context} context
* @param {ASTNode} node
* @returns {ASTNode|null}
*/
export function getParentES5Component(context: Context, node: ASTNode): ASTNode | null;
/**
* Get the parent ES6 component node from the current scope
* @param {Context} context
* @param {ASTNode} node
* @returns {ASTNode | null}
*/
export function getParentES6Component(context: Context, node: ASTNode): ASTNode | null;
/**
* Check if the node is explicitly declared as a descendant of a React Component
* @param {any} node
* @param {Context} context
* @returns {boolean}
*/
export function isExplicitComponent(node: any, context: Context): boolean;
/**
* Checks if a component extends React.PureComponent
* @param {ASTNode} node
* @param {Context} context
* @returns {boolean}
*/
export function isPureComponent(node: ASTNode, context: Context): boolean;
/**
* @param {ASTNode} node
* @returns {boolean}
*/
export function isStateMemberExpression(node: ASTNode): boolean;
//# sourceMappingURL=componentUtil.d.ts.map