Top "Typescript2.4" questions

Used for questions that relate to features or technical changes introduced in TypeScript 2.4

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

When I compile, I get the following compiler error in the RxJS declaration files: node_modules/rxjs/Subject.d.ts(16,22): …

typescript rxjs rxjs5 typescript2.4
TypeScript's string enums - "Type ... is not assignable to type ..."

I have recently upgraded the version of TypeScript from 2.3.4 to 2.4.0 hoping to use the string enums. To my dismay, however, …

typescript enums visual-studio-2017 typescript2.4
What's the return type of a dynamic import?

I have a file, which must be loaded asynchronously, so I made a function, which loads this file and returns …

typescript typescript2.4
TypeScript ES dynamic `import()`

While using the new TypeScript feature, so called ES Dynamic Imports, I am not able to run the code of …

node.js typescript ts-node typescript2.4