In recent React versions you can just simply add the mappings in the tsconfig.json file:
{ "compilerOptions": { "paths": { "@Components": ["./src/components"], "@Components/*": ["./src/components/*"] } } }