packages/brookjs-silt/src/withRef.tsx
Function withRef$
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
) => (
WrappedComponent: React.ForwardRefRenderFunction<E, P> | React.ElementType<P>,
) => {
// @TODO(mAAdhaTTah) why isn't this type working?
const Target = wrap(WrappedComponent) as any;