I am having directory issue or something I don't know

Viewed 52
File 'd:/cypress/gitRepo3/CypressNonGit/node_modules/cypress/types' not found.
  The file is in the program because:
    Matched by include pattern './node_modules/cypress' in 'd:/cypress/gitRepo3/CypressNonGit/jsconfig.json'

I am trying to get autosuggestions into my cypress code, I guess (learning phase only) I am getting this error when I include jsconfig.json whish is saying as above.

I using visual studio code 1.64.2

jsconfig.json

{
"include" :[
    "./node_modules/cypress",
    "cypress/**/*.js"
]

}

screenshot for this error

and this my project structure

project structure

1 Answers

Instead of [] user {} like

"include" :{
    "./node_modules/cypress",
    "cypress/**/*.js"
}```
Related