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

camel case property names #28

Open
ajaishankar opened this issue Feb 14, 2017 · 1 comment
Open

camel case property names #28

ajaishankar opened this issue Feb 14, 2017 · 1 comment

Comments

@ajaishankar
Copy link

How best to go about generating camel case typescript property names from pascal case C# names?

@westim
Copy link

westim commented Dec 6, 2018

You could probably modify VisitPropertyDeclaration to transform the name:

propertyDeclaration.Name = char.ToLower(propertyDeclaration.Name[0]) + 
                           propertyDeclaration.Name.Substring(1);

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

No branches or pull requests

2 participants