QuackatronHQ / Gigarepo

Detected the use of variables before they are defined JS-0357
Anti-pattern
Major
1 occurrence in this check
'tryCall_' was used before it was defined
 8  return new Promise((_resolve, reject) => reject(data));
 9}
10
11export const tryCall = tryCall_;12
13var tryCall_ = async function <T>(
14  func: () => Promise<T>