Problem Statement
Path aliases are configured with…
Explanation
Set `baseUrl` (the root) and define `paths` mappings. This shortens import paths and avoids deep relative imports.
Code Solution
SolutionRead Only
// tsconfig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": { "@app/*": ["src/*"] }
}
}
// import { util } from '@app/utils/util';