fix: change error type thrown by waitForConnect to unknown
This fixes "Argument of type 'unknown' is not assignable to parameter of type 'Error'" warning shown during compilation. The error type may not necessarily be of type Error, the caller should narrow the error down to specific types.
Loading
Please register or sign in to comment