Fix missing type arguments in generics

Fixes compiler error "TS2173: Generic type references must include all type arguments." in TSC 0.9.1.1.