Create import aliases in tsconfig.json
Opened this issue · 0 comments
guergana commented
Overview
Modify the file tsconfig.json
in the project to make it easier to import components and functions into the current code and avoid relative imports.
Example of the current imports: import * as helpers from '../../../helpers'
desired import: import * as helpers from '@helpers
, etc.
This guide can be used as a reference on how to add aliases in React Typescript projects