Example #1
0
 dtsClass.compilation.forEach(function (declaration) {
     var type = translator_1.translateType(declaration.type, importManager);
     var newStatement = "    static " + declaration.name + ": " + type + ";\n";
     outputText.appendRight(endOfClass - 1, newStatement);
 });
Example #2
0
     .map(function (decl) {
     var type = translator_1.translateType(decl.type, _this.imports);
     return "    static " + decl.name + ": " + type + ";\n";
 })