TS7016: An error occurred while trying to locate a declaration file for the module 'rxjs'. The file 'C:/Path/to/project/node_modules/rxjs/dist/cjs/index.js' is implicitly set to type 'any'. You can try running npm i --save-dev @types/rxjs if it exists, or create a new declaration (.d.ts) file with `declare module 'rxjs';
Recently, I upgraded NestJs to version 8 and rxjs to version 7. After the update, my imports stopped working. In the previous version (6th), there was an index.ts file in the node_modules/rxjs folder. However, upon installing the 7th version, this file seems to have been removed.