Consider the sample of inter-dependent code (below) that makes use of decorators.
Now consider the following workflow (yes, I do want to pass the actual exported cla
Hit the same problem today. I solved it slightly differently, by replacing @Test(Parent) by @Test(() => Parent).
Instead of tracking the class constructor (Parent) in metadata, I track the thunk that returns the constructor (() => Parent). This delays the evaluation of the Parent imported variable until the thunk is invoked, which does the trick.