-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export ClientOptions from 'ws' #27
Comments
@heineiuo currently using 4.0.1 in https://github.com/aperturerobotics/starpc - I tried importing as |
@paralin I didn't get errors with https://codesandbox.io/s/nervous-fire-9hnffn?file=/src/App.tsx |
Since you are installing ws anyway, you can use the following code:
|
I guess it's expected now to use |
Yes. I'm going to revert the commit which did not published actually. |
Isn't it necessary to add more lines like..
|
No, it's unnecessary because |
The ClientOptions are not currently accessible in TypeScript.
The text was updated successfully, but these errors were encountered: