100xdevs-cohort-2 / assignments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

db.test.ts contain some errors ! Cant test the app !

Sanket00900 opened this issue · comments

image

i'm also facing an issue

There is only one problem that gives the following error -
Parameter 'todo' implicitly has an 'any' type to resolve this follow the below steps:

  1. Go in tsconfig.json
  2. Add the following line under Complier Options in tsconfig.json
"noImplicitAny": false
  1. Save the file.

Rest all the error that you are receiving is because there is something wrong in your Code or Query.

image

i'm also facing an issue

bro in mongodb to access the data or we can take an example as user to excess specific user .we have _id not id
so in ur code u have to do User._id to access the specific user

i hope that helps