nickytonline / web3-starter

An opinionated web3 starter for building dApps
https://the-web3-starter.vercel.app
70 stars 14 forks source link

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

Open nickytonline opened 2 years ago

nickytonline commented 2 years ago

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.