nhabuiduc / TypescriptSyntaxPaste

Visual Studio Extension which convert C# SYNTAX to Typescript SYNTAX
70 stars 24 forks source link

private AutoProperties to public fields #5

Closed oliver-h closed 8 years ago

oliver-h commented 8 years ago

In Version 1.1., installed via VS "Extensions and Updates", private AutoProperties are translated to public fields.

input:

private static int PrivateStaticGetter { get; set; }
private int PrivateGetter { get; set; }

output:

public PrivateStaticGetter: number;
public PrivateGetter: number;
oliver-h commented 8 years ago

Also, I noticed now, that public static AutoProperties lose the "static".

nhabuiduc commented 8 years ago

Fixed for that problem in commit 664b260e055c11d94f296aa993aaf7e99b921d1a

oliver-h commented 8 years ago

Thank you!