Danielo Artola

Results 8 comments of Danielo Artola

Thanks @creotip , we'll work on that for sure!

Hi! I think you can create an interface for the initial state, declare the initial state outside in a const, and pass it to createStore. Could you try to type...

great work here, we could review it and set it on project. I'll try to spend time on this thread tomorrow if the proposal is still ongoing. Thanks both for...

Hi folks! @Chetan-unbounce, @laekem34 , @aralroca We were working and discussing over types, we created a MR ( #52, still on draft ). Honestly the work done here by you...

created canary release to test this MR -> [0.9.0-canary.2]( https://github.com/teafuljs/teaful/tree/0.9.0-canary.2)

> I was wondering if we can do this ```ts type getStoreType = { [key in keyof S | string]: S[key] extends initialStoreType ? useStoreType & HookDry : HookDry; };...

> I think it's a good idea to move type definitions to separate file, then import those types with type-imports. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html https://levelup.gitconnected.com/improving-babel-support-for-typescript-with-type-only-imports-28cb209d9460 Agree, we'll do it before merge. Thanks!

I get a 404 trying to see the images