andrewplummer / Sugar

A Javascript library for working with native objects.
https://sugarjs.com/
MIT License
4.54k stars 305 forks source link

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

Open MichalMeszaros opened 5 years ago

MichalMeszaros commented 5 years ago

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

andrewplummer commented 5 years ago

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!