You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having long paths in imports something like this
import { ApiService } from "../../services/api-calls/api.service";
so I was trying to reduce the path with the help of tsconfig.app.json file like
"paths": {
"@services/*": ["./services/*"]
},
and in component I changed import path like
import { ApiService } from "@services/api-calls/api.service";
and it worked well for me, It didn't throw any error I was able to serve the app successfully on localhost, But the problem I am now facing is Sublime is not giving any auto suggestions for path or for imported Class, Does anyone faced this issue? how to fix it?
The text was updated successfully, but these errors were encountered:
I was having long paths in imports something like this
import { ApiService } from "../../services/api-calls/api.service";
so I was trying to reduce the path with the help of tsconfig.app.json file like
and in component I changed import path like
import { ApiService } from "@services/api-calls/api.service";
and it worked well for me, It didn't throw any error I was able to serve the app successfully on localhost, But the problem I am now facing is Sublime is not giving any auto suggestions for path or for imported Class, Does anyone faced this issue? how to fix it?
The text was updated successfully, but these errors were encountered: