This is all being discussed 
here https://github.com/angular/angular/issues/4404

Unfortunately, there's currently no way to get around this unless TS comes 
up with a dedicated API :(

On Tuesday, November 24, 2015 at 12:28:42 AM UTC+1, Andreas Grimm wrote:
>
> with dependency-free I meant no deps to 3rd-Party libs or frameworks. the 
>> Car class actually has a dep to the Engine class in its constructor.
>>
>
> class Car {
>   engine: Engine;
>   
>   constructor(engine: Engine) {
>     this.engine = engine;
>   }
> } 
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to