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

Add to docs where to create the reset.d.ts file #191

Open
frdwhite24 opened this issue Mar 20, 2024 · 1 comment
Open

Add to docs where to create the reset.d.ts file #191

frdwhite24 opened this issue Mar 20, 2024 · 1 comment

Comments

@frdwhite24
Copy link

Thanks for the fantastic library! I always install it on new projects and I love your work.

Context of issue: Every time I start a new project, it's just infrequently enough that I forget how I set things up beforehand. Every time I install the lib and then include the reset.d.ts in my project root, it doesn't work. It always takes me about 30 mins to go through the debugging process before I remember that I need to move it to ./src/reset.d.ts rather than just in the project root amongst all the .prettierrc / .eslintrc files.

Proposed solution: Add in a statement about WHERE to create the reset.d.ts file in your getting started steps, or at least a troubleshooting section which covers the topic of where you might need to put it to get it to work / common setup problems.

@kurtextrem
Copy link

The TSconfig default is to include types from node_modules/@types. Is there maybe a way to tell TypeScript use all d.ts files from @total-typescript/ts-reset AND keep the default?

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

2 participants