error solved

Fix – error in node_modules/rxjs/internal/types.d.ts(81,44): error ts1005: ‘;’ expected.


If you are getting node_modules/rxjs/internal/types.d.ts(81,44): error ts1005: ‘;’ expected error, the problem might arise due to version mismatch. To solve your problem you need to do the following changes in your package.json file

Go to package.json and modify “rxjs”: “"rxjs": "^7.0.0" to "rxjs": "7.0.0"and Run npm install in your project also there is no need to change the typescript version.

 In case you are using rxjs-compat then you also need to do the following in order to fix the issue. change the rxjs-compat version from "rxjs-compat": "^6.2.2" to "rxjs-compat": "6.2.2"


Share on social media

//