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

chore(012-tsc-watch-mode.solution): add missing "outDir" to complete the solution #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Zyruks
Copy link

@Zyruks Zyruks commented Oct 9, 2024

Changes Made 🎉

  • chore: added "outDir" to tsconfig.json for the 012-tsc-watch-mode solution

Describe Changes

For the 012-tsc-watch-mode.solution, I added the "outDir": "./dist" setting to tsconfig.json. This ensures that all compiled TypeScript files are output to the ./dist directory, making the output location consistent when running tsc or using watch mode.

Note

I'm really enjoying the Total TypeScript course so far! As I work through the exercises, if I find any small issues or areas for improvement, I'll be happy to leave a PR or create an issue to help out.

Thanks so much for all your hard work in putting these resources together! 🙌

Checklist ✅

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

…or watch mode solution

Added "outDir": "./dist" to the 012-tsc-watch-mode.solution's tsconfig.json to specify the output folder for compiled files. This ensures that JavaScript files emitted by TypeScript are placed in the "dist" directory during compilation.
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 this pull request may close these issues.

1 participant