I am developing an application in typescript (in Visual Studio 2015) and have this basic file structure:
Solution AppProject Scripts framework Utils.ts app SomeApp.ts tsconfig.json
Now in the application modules, I would like to refer to the modules of the structure with an absolute path, so I would do something like this:
import { Utils } from '/Scripts/framework/Utils'
However, this does not work .
I get a red string squiggly and "Can't find module" / Scripts / framework / Utils "
I work fine when I make a relative path, but the application is clearly more complex than shown, and I don't want to deal with the output of several levels for my relative path.
I am using typescript 1.8 using the node module resolution strategy.
And a web package for compiling and linking, if that matters
source share