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

Remove @ from the @types folder as it's causing type import issues #36

Open
nickytonline opened this issue Dec 29, 2021 · 0 comments
Open

Comments

@nickytonline
Copy link
Owner

nickytonline commented Dec 29, 2021

Describe the bug

It's not super apparent in the started site, but I was getting this error in other projects that I created from this project.

module "/Users/nickytonline/dev/structured-yolo-dao/@types/Member"
Cannot import type declaration files. Consider importing 'Member' instead of '@types/Member'.ts(6137)

To Reproduce

I've fixed this in the project I had the issue with, so nothing to reproduce. I just know it's an issue.

Expected behavior

When importing from types that are local to the project, no import errors should occur.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

N/A

Smartphone (please complete the following information):

N/A

Additional context

Add any other context about the problem here.

@nickytonline nickytonline self-assigned this Dec 29, 2021
@nickytonline nickytonline removed their assignment May 12, 2022
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

Successfully merging a pull request may close this issue.

1 participant