teamdigitale/italia-app

View on GitHub
ts/utils/SessionManager.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  public withRefresh<R>(
    f: FunctionN<[T], Promise<t.Validation<IResponseType<401, any> | R>>>
  ): Lazy<ReturnType<typeof f>> {
    return async () => {
      let count = 0;
Severity: Minor
Found in ts/utils/SessionManager.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status