CreateStore types not work for array

const [store, setStore] = createStore([{
lotNumber: '',
}]);
const [store, setStore] = createStore([{
lotNumber: '',
}]);
This is giving typescript error in v1.7.5
3 Replies
JCM
JCM2y ago
What is the error message? I don't see an error on my side when using your code snippet.
PureSoul
PureSoulOP2y ago
can you tried with solid 1.7.5?
JCM
JCM2y ago
Yes, 1.7.5 should not be problematic. What is the error message you see?
Want results from more Discord servers?
Add your server