S
SolidJS15mo ago
PureSoul

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
JCM15mo ago
What is the error message? I don't see an error on my side when using your code snippet.
PureSoul
PureSoul14mo ago
can you tried with solid 1.7.5?
JCM
JCM14mo ago
Yes, 1.7.5 should not be problematic. What is the error message you see?