AdrianWilczynski / CSharpToTypeScript

Convert C# Models, ViewModels and DTOs into their TypeScript equivalents using webapps, CLI Tool or VSCode extension. Links: https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.csharp-to-typescript - https://csharptotypescript.azurewebsites.net - https://adrianwilczynski.github.io/CSharpToTypeScript/ - https://www.nuget.org/packages/CSharpToTypeScript.CLITool/
MIT License
115 stars 32 forks source link

Some Chinese characters trigger error #37

Open MuTsunTsai opened 2 years ago

MuTsunTsai commented 2 years ago

One example to reproduce the issue is the following:

public class FundWithdrawModel  {
    [DisplayName("手續費")]
    public decimal Fee { get; set; }
}

The character "費" here somehow leads to an error converting. Removing it solves the problem.