mAAdhaTTah/brookjs

View on GitHub
packages/brookjs-silt/src/withRef.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function withRef$ has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

) => (
  WrappedComponent: React.ForwardRefRenderFunction<E, P> | React.ElementType<P>,
) => {
  // @TODO(mAAdhaTTah) why isn't this type working?
  const Target = wrap(WrappedComponent) as any;
Severity: Minor
Found in packages/brookjs-silt/src/withRef.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status