I currently have a solution with two projects. ServerApp (nodejs NTVS) and BrowserApp (Html Typescript application).
I wish to share classes between both projects and get immediate intellisense.
How to do that ?
PS: for those how know GWT, what I want is similar to the shared project.
I managed to do it this way :
/// <reference path="../SharedClasses/shared_reference.ts" />
Autocompletion works, F12 too...
If you use an external build tool e.g
grunt-ts
its easier. For a demo check out : https://github.com/basarat/demo-fullstackWith a sample gruntfile (https://github.com/basarat/demo-fullstack/blob/master/src/Gruntfile.js). Important bit: