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

Impossible to import a file from local folder under "src/" #11

Open
suppadeliux opened this issue Jul 16, 2020 · 0 comments
Open

Impossible to import a file from local folder under "src/" #11

suppadeliux opened this issue Jul 16, 2020 · 0 comments

Comments

@suppadeliux
Copy link

When trying to import a function or whatever from the util.ts file located under src/app/common/util.ts. Normally this should work, but it doesnt :(. The auto completition works for other things (angular or rxjs), but when I try to import a global interface or function, I can't import it. The only way is by adding the import and writing the path by hand.

The home.component.ts file
image

The utils.ts file
image

I did a git clone from the repository, so didn't change all the tsconfig files.

I thought that my typescript wasn't updated, so I installed the latest version, but that wasn't the solution.

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant