import { cy } from "local-cypress"
I got an error in VSCode:
Cannot find module 'local-cypress'. Did you mean to set the 'moduleResolution' option to 'node',
or to add aliases to the 'paths' option? ts(2792)
So I added "moduleResolution": "node" to tsconfig.json.
{
"compilerOptions": {
"moduleResolution": "node",
...
},
...
}
I hope this configuration requirement to be mentioned in local-cypress documentation.