
Luis Angel Olivárez Estrada
Preguntastudent•hace 3 años
Tengo este problema hace algunas clases… sólamente me marca el error pero no entiendo a qué se debe. La verdad no conozco aún typescript.
Argument of type 'QueryFunction<ISearchPlantQuery, QueryKey>' is not assignable to parameter of type 'QueryFunction<ISearchPlantQuery, (string | InfinitePlantListArgs)[]>'. Type '(string | InfinitePlantListArgs)[]' is not assignable to type 'QueryKey'. Target requires 2 element(s) but source may have fewer.ts(2345)