sanity schema problem
chaima-elm opened this issue · comments
shamy404 commented
Artemushek commented
write this:
import product from './product'
import banner from './banner'
export const schemaTypes = [ product, banner ]
Vaibhav Kumar Singh commented
Here is what I did covert index.js to index.ts write the code of @Artemushek it solved my error.
import banner from './banner'
import product from './product'
export const schemaTypes = [banner,product]