AntiPattern
Wrong Scope and Signatures
mis-scoped-callback-signatures
Function and type signatures are mis-specified across boundaries—React children read outside parent scope and callbacks are typed or invoked with mismatched argument shapes—so context/functions receive unexpected inputs and TypeScript fails to constrain them correctly.