Files
2026-DEV-BUT3/node_modules/eslint-plugin-react/lib/util/annotations.d.ts
T

8 lines
390 B
TypeScript
Raw Normal View History

2026-04-25 15:28:39 +02:00
/**
* Checks if we are declaring a `props` argument with a flow type annotation.
* @param {ASTNode} node The AST node being checked.
* @param {Object} context
* @returns {boolean} True if the node is a type annotated props declaration, false if not.
*/
export function isAnnotatedFunctionPropsDeclaration(node: ASTNode, context: any): boolean;
//# sourceMappingURL=annotations.d.ts.map