Skip to content
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

I s there a type definition file for socket ? #66

Open
RobinSrimal opened this issue Nov 15, 2024 · 2 comments
Open

I s there a type definition file for socket ? #66

RobinSrimal opened this issue Nov 15, 2024 · 2 comments

Comments

@RobinSrimal
Copy link

No description provided.

@heapwolf
Copy link
Member

heapwolf commented Nov 15, 2024

Yes, it's distributed as a part of the npm module, you can also get it here. Is there a way you think this could be improved?

@RobinSrimal
Copy link
Author

My understanding is that the npm package does not work? I cloned the repo and ran install.sh instead.

I stumbled over this when using create socket app with react-ts. It would be good if that would just work out of the box without errors. I tried copying the type definition file into my repo but got errors in the type definition file itself. Happy to share those if needed but I will stick with vanilla for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants