Assignment5_new/node_modules/eslint-plugin-react/lib/util/annotations.d.ts

8 lines
390 B
TypeScript
Raw Normal View History

2025-01-07 05:14:59 +00: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