Sugar icon indicating copy to clipboard operation
Sugar copied to clipboard

Typescript typing Date.create return Date instead of Chainable<Date>

Open MichalMeszaros opened this issue 6 years ago • 1 comments
trafficstars

in typescript when you call Date.Create() this return Chainable<Date> (there are functions for extended Date object) but based on the typing it returns date.

MichalMeszaros avatar Feb 12 '19 07:02 MichalMeszaros

Thanks there may be issues with the declarations files... this is going to get a rehaul soon so I'll have a look at it then!

andrewplummer avatar Feb 12 '19 13:02 andrewplummer