Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
How should i make my type-script files to be get compile in app folder in angular 2. My working directory is dev.
I want to keep separate js and ts files.
What changes i need to perform in index.html file or anywhere else?
Create a tsconfig.json file if you don't have one yet. Then set compilerOptions property outDir to ./app.
compilerOptions
outDir
./app
Add a comment
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.