Bug: await
Open
- Dominant language
- TypeScript
- Stars
- 40
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
if (!isBrowser) {
const nodeWS = await import('ws');
WebSocket = nodeWS.WebSocket;
}
you should remove the keyword "await" in this code!
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the Node.js branch containing the shown dynamic import and inspect how WebSocket is assigned from nodeWS.WebSocket. The change is complete when that import no longer uses await while the Node.js WebSocket setup remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100