ant-design/ant-design

View on GitHub
.dumi/hooks/use.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function use has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function use<T>(promise: PromiseLike<T>): T {
  const internal: PromiseLike<T> & {
    status?: 'pending' | 'fulfilled' | 'rejected';
    value?: T;
    reason?: any;
Severity: Minor
Found in .dumi/hooks/use.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status