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

DateOnly not converting to string #48

Open billrob opened 2 years ago

billrob commented 2 years ago
public class Sample
{
  public DateTime DT { get; set; }
  public DateOnly DO { get; set; }
}

converts to

export interface Sample {
  dT: string;
  dO: DateOnly;
}

I would expect it DateOnly to convert to a string just like DateTime