79249740

Date: 2024-12-04 02:44:59
Score: 1.5
Natty:
Report link

Since I can't comment on a prior post...

In addition to the answer above by valentineProjects...

"compilerOptions": {
    "rootDir": "src",
    "baseUrl": "src"
}

You might also have to change the VSCode preferences for typescript.preferences.importModuleSpecifier to "non-relative". The default is "shortest" which caused me to still get ./ paths.

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Smith5646