I am dealing with a queryParams object that I need to use to query the database based on its properties. However, I am unable to determine which parameters it contains. I attempted to utilize
find(queryParameters: object = { limit: 50 }){
if (queryParameters.hasOwnProperty("limit")) {
console.log( queryParameters.limit)
}
}
but I keep receiving an error stating that Property 'limit' does not exist on type 'object'. Is there a solution to this issue?