1

Is it possible to achieve a project structure as shown below without the Typescript compiler recompiling shared portions of the code (in this case recompiling src for the tests), and getting cross-project refactoring support?

./
|- dist/
| |- ... /* output of tsc -p src */
|- src/
| |- ... /* bunches of files/folder etc. etc. */
| |- tsconfig.json // outDir is ../dist and declarations is true
|- test/
| |- ... /* lotsa tests */
| |- tsconfig.json

1 Answer 1

1

It seems this is on the typescript team's radar; and it is officially a feature of Typescript 3.0.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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.

Ask question

Explore related questions

See similar questions with these tags.