I am switing to using AMD compilation rather than typescript internal modules.
I have a project full of typescript classes and interfaces that I have successfully optimized into a requirejs file full of requirejs defines.
for example
class A { ... } export A;
Other classes reference the file and import the class fine.
In another project I pull in the R.js optimized file using bower and reference it in require_config.js and load the file ok.
Within this other project I want Class B to reference class A but class B is not in the file path.
What do I need to do? I guess I need to generate d.ts files that I reference in Class B but how do I do import ClassA = require("ClassA") when ClassA is not in the file path of the second project.
James
but class B is not in the file path
... class A or B? – Paleo