NeVeSpl / NTypewriter

File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.
https://nevespl.github.io/NTypewriter/
MIT License
126 stars 24 forks source link

Missing default value for DateTime #98

Open Nimfas opened 11 months ago

Nimfas commented 11 months ago

There is a missing default value for DateTime that is mentioned in a summary "Date types return new Date(0)"

https://github.com/NeVeSpl/NTypewriter/blob/b2f43fcdc1f22b01bd90c0bc9177a7b7b573dde0/NTypewriter.CodeModel.Functions/TypeFunctions.ToTypeScriptDefault.cs#L20