Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up module imports across repo #192

Open
shravanhariharan2 opened this issue Jul 17, 2021 · 0 comments · May be fixed by #437
Open

Clean up module imports across repo #192

shravanhariharan2 opened this issue Jul 17, 2021 · 0 comments · May be fixed by #437
Assignees
Labels

Comments

@shravanhariharan2
Copy link
Collaborator

Currently, relative imports are used across all files, and barrel files are used inconsistently across modules. This makes the import statements long, verbose, and slightly difficult to maintain.

The goals of a fix should be to:

  • Add barrel files to all modules, so that every class can be imported at the module level and not the file level
  • Change relative imports to absolute imports using module-alias

Here is an issue that describes setting up module aliases on TypeScript so that the compiled JS also uses the aliases.

@nik-dange nik-dange assigned nik-dange and echang594 and unassigned nik-dange Apr 4, 2024
@echang594 echang594 linked a pull request Apr 23, 2024 that will close this issue
13 tasks
@echang594 echang594 linked a pull request May 11, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants