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