Skip to content

adds typescript support - #4

Merged
Vincent Biret (baywet) merged 10 commits into
mainfrom
feature/typescript
Dec 29, 2020
Merged

Vincent Biret (baywet) merged 10 commits into
mainfrom
feature/typescript

Conversation

@baywet

Copy link
Copy Markdown
Member
  • adds typescript support
  • light refactoring of the imports
  • light refactoring of parameters classes management

var typeName = TranslateType(code.Name, code.Schema);
if (code.ActionOf)
{
var indentFactor = 4;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the indentfactor for? Why would some blocks have bigger indents than others? I understand that languages may have different indent values, but why allow it to be varied per language element.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's for the anonymous type declaration in the methods parameters. We don't absolutely need it, but it looks nicer.

Base automatically changed from feature/java-writer to main December 29, 2020 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants