ts/utils/SessionManager.ts
Function withRefresh
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public withRefresh<R>(
f: FunctionN<[T], Promise<t.Validation<IResponseType<401, any> | R>>>
): Lazy<ReturnType<typeof f>> {
return async () => {
let count = 0;