Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds typescript support #4

Merged
merged 10 commits into from
Dec 29, 2020
Merged

adds typescript support #4

merged 10 commits into from
Dec 29, 2020

Conversation

baywet
Copy link
Member

@baywet baywet commented Dec 29, 2020

  • adds typescript support
  • light refactoring of the imports
  • light refactoring of parameters classes management

@baywet baywet requested a review from darrelmiller as a code owner December 29, 2020 20:22
@baywet baywet self-assigned this Dec 29, 2020
var typeName = TranslateType(code.Name, code.Schema);
if (code.ActionOf)
{
var indentFactor = 4;
Copy link
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
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
@baywet baywet requested a review from darrelmiller December 29, 2020 20:55
@baywet baywet merged commit 75eeaa4 into main Dec 29, 2020
@baywet baywet deleted the feature/typescript branch December 29, 2020 21:15
@baywet baywet added this to the MVP milestone Feb 16, 2021
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