Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

208
Views
Problema al usar el estado de React-Redux ___ La propiedad 'cart' no existe en el tipo 'DefaultRootState' - de un proyecto MERN

el error que recibo según el Código VS es --- La propiedad 'productDetails' no existe en el tipo 'DefaultRootState'

para elaborar más el problema de la siguiente manera, probé las soluciones dadas en la página, sin embargo, ninguna funcionó para mí. entonces mi problema es el siguiente:

 //While I am using const productList = useSelector((state) => state.productList) //I am getting that property does not exist. the codes can be seen from the below images

este es el archivo store.js

Y este es el archivo donde intento usar > const productList = useSelector((state) => state.productList

el error se puede ver claramente en la segunda imagen. La propiedad 'cart' no existe en el tipo 'DefaultRootState'.ts(2339)

este es un Proyecto MERN.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!