Gus Fune
Gus Fune
I am accessing on a remote server, locally it did not play well on a mac. It's running on Ubuntu 16.04. The console output is: ``` > [email protected] dev /root/whatsapp-web-reveng...
I have the same request, but have decided to work on my own implementation of `@types/swell-js` as I develop with it on our internal codebases. There is a lot to...
The typing implementation is not fully done @FelipeCabreraB, so some types are written as `any` for now. Try to disable eslint warnings for those lines and see if it will...
Oh, I forgot one thing, to use it inside a project you need to wrap the tipings with a declare module. Example: ``` declare module "swell-js" { export as namespace...
One last update @FelipeCabreraB - you can now install `@types/swell-js` directly to your repository. It's been merged the PR I've made. `yarn add -D @types/swell-js` or `npm i -D @types/swell-js`...
This was also reported on #81 which still have a bunch of open issues on types.
> Why choosing to union in a single type both camel cased and snake cased interfaces? This introduces a load of errors as typescript can't infer which field is from,...
> I for one use `useCamelCase` in my swell setup, but when I try to fetch a product, or a cart for example, I've been flooded with errors. I need...
> Sure, here's an example of error: > > I'm using SolidJS and `cart?.state.current?` is the result of > > ```ts > export interface CartContextState { > current?: Cart |...
> I don't think is solidjs per se, more the combination of strictest tsconfig / eslint. Here's mine > > tsconfig.json > > ```json > { > "compilerOptions": { >...