TypeScript’s string enums – “Type … is not assignable to type …”

This is because typescript version. Open command prompt or terminal. then run these commands. Check TypeScript version tsc -v should be higher than 2.4 if not. install latest version of typescript globally npm install typescript -g Open your package.json file of the project and change typescript version like this with newly installed version “typescript”: “~2.6.1” … Read more

How do I get around this “Subject incorrectly extends Observable” error in TypeScript 2.4 and RxJS 5.x?

Solution RxJS 5.4.2 should now work perfectly with TypeScript 2.4.1. Simply upgrade to 5.4.2+ if possible. npm install –save rxjs@^5.4.2 Then try restarting your editor and/or recompile if you don’t see an immediate change. If not, the below solution should work. Why it’s happening TypeScript 2.4 has a strictness change, and Subject<T> isn’t lifting to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)