@vladima replied to this issue on GitHub:
The way the compiler resolves modules is controlled by
moduleResolution option that can be eithernode
orclassic
(more
details and differences can be found here). If this setting is omitted
the compiler treats this setting to benode
if module iscommonjs
and
classic
– otherwise. In your case if you wantclassic
module
resolution strategy to be used withcommonjs
modules – you need to set
it explicitly by using{ "compilerOptions": { "moduleResolution": "node" } }