InstanceLoader

class InstanceLoader {
    static getInstance < T >(context: Object, name: string, ...args: any[]) : T {
        var instance = Object.create(context[name].prototype);
        instance.constructor.apply(instance, args);
        return < T > instance;
    }
}

Ejemplo

interface NamedThing {
        moreInput: string;
}

class Example {
        public name = 'Janice';
       
        constructor(public input: string, public moreInput: string) {
               
        }
}

var example = InstanceLoader.getInstance < NamedThing >(window, 'Example', 'Some input', 'Some more input');
alert(example.moreInput);

Más Información

dynamically loading a typescript class reflection for typescript