As of August 2018 (1.25), the accepted answer does not always work.
Instead, add this line to your folder setting.
{ "typescript.preferences.importModuleSpecifier": "relative" }
Do not think what is happening here, but these automatic path changes never happen in my environment.
source share