web3-starter icon indicating copy to clipboard operation
web3-starter copied to clipboard

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

Open nickytonline opened this issue 3 years ago • 0 comments

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 avatar Dec 29 '21 04:12 nickytonline