Monday, 22 May 2017

Instanciate a class in typescript with dynamic parameters

I create a new framework for fun, i want to use dependency injection as pattern for my service, but i'm looking for how to instanciate a class with dynamic parameters as angular2 do for the service.

let temp = new Foo( with custom parameters)

thanks you



via Mazout

No comments:

Post a Comment