Skip to content

v.1.3.0

Latest

Choose a tag to compare

@zaccomode zaccomode released this 30 Oct 02:14
· 6 commits to main since this release

Updated to include the .fromJson() function for both RealTime and RealDate classes, allowing them to be serialised from a JSON object back into their respective classes. The JSON objects do not need to carry the strict _type property, just the underlying data property (i.e _millis: number and _date: Date for RealTime and RealDate respectively).