You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, functions return with a large block wrapped in new Promise((resolve, reject) => { . . . }, when it probably isn't necessary (I'm not sure because I'm basing this on memory alone right now) to wrap the whole block like that. This could be cleaned up. Also consider using async/await.
The text was updated successfully, but these errors were encountered:
Additionally, there are unnecessarily verbose index.ts files used just for exporting. They import first and then export, when they could simply just export directly from the files.
In some cases, functions return with a large block wrapped in
new Promise((resolve, reject) => { . . . }
, when it probably isn't necessary (I'm not sure because I'm basing this on memory alone right now) to wrap the whole block like that. This could be cleaned up. Also consider using async/await.The text was updated successfully, but these errors were encountered: