When I compile, I get the following compiler error in the RxJS declaration files:
node_modules/rxjs/Subject.d.ts(16,22): error TS2415: Class \'Subject
I have made the below two changes in package.json file.
1) changed the rxjs version to 5.4.1 in dependencies section.
"dependencies":
{
"rxjs": "5.4.1"
}
2) changed the typescript version to 2.4.0 in devDependencies section.
"devDependencies": { "typescript": "2.4.0" }
I ran 'npm install' command after making the two changes and it worked.