0

I know similar questions have been asked before (e.g., 1, 2). However, they do not mention ES6, which the systemjs docs imply is a solution to the problem (3).

So my question is: If I tell the typescript compiler to target ES6 and emit "system" modules, and use systemjs as my module loader, will that support circular dependencies?

If not, any approaches that supports circular dependencies in Typescript are welcome (via whatever transpiler, loader, etc., are required).

(I have already seen advice to modify the code to remove circular dependencies. It would be very harmful to our system design and I would like to avoid it.)

Chris
  • 4,734
  • 2
  • 19
  • 26
  • does this help? https://github.com/systemjs/systemjs/issues/1272 – toskv Oct 19 '16 at 14:06
  • Thanks, that is potentially relevant, but our issue is only with our own typescript classes, so we can build them all for a single module loader/framework. – Chris Oct 19 '16 at 14:21

0 Answers0