Here is a nice trick that I would like to share if you are working with typescript and path aliases.
Suppose you have a typescript project, and you are in love with path aliases.
// tsconfig.json
{
"baseUrl": "./src",
"paths": {
"@/*" : [ "./*" ]
},