socketsupply / create-socket-app

Create Socket App, is like Create React App but helps you build native apps for mobile and desktop with Svelte, Reactjs, Vuejs and others!
134 stars 14 forks source link

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

Open RobinSrimal opened 1 day ago

heapwolf commented 1 day ago

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 commented 1 day ago

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.