Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiei committed Sep 13, 2024
1 parent d799147 commit e75a7a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/baseTranspiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -863,9 +863,9 @@ class BaseTranspiler {
}

printFunctionDeclaration(node, identation) {
if (ts.isArrowFunction(node)) {
return ''; // to do support arrow functions
}
// if (ts.isArrowFunction(node)) {
// return ''; // to do support arrow functions
// }
let functionDef = this.printFunctionDefinition(node, identation);
const funcBody = this.printFunctionBody(node, identation);
functionDef += funcBody;
Expand Down

0 comments on commit e75a7a8

Please sign in to comment.