Currently, I am utilizing Visual Studio 2017 ASP.NET Core with Angular. However, I am facing an issue where Visual Studio does not seem to recognize the shortcuts when I attempt to set baseUrl/paths.
I am unsure if this is a result of misconfiguration on my end or if Visual Studio 2017 does not offer full support for this feature.
Here is a snippet from my tsconfig.json:
"baseUrl": ".",
"paths": {
"@services/*": [ "ClientApp/app/shared/services/*" ]
}
Furthermore, I have also tried using "app/shared/services/*" for the path.
Upon importing the declaration:
import { MyService } from '@services/my.service';
I encounter the following error message:
Cannot find module '@services/my.service'