Billiang Werntiam
Billiang Werntiam
@andrewplummer Right, so I don't think ///'referencing (reference paths) is the "latest and greatest" recommendation, it's more of the old way to import typescript definitions, which even though it is...
@andrewplummer So I can confirm that Sugar is now loading properly with the following: ``` import * as Sugar from "sugar"; ``` Which is excellent news! I also want to...
Maybe it's because the extended functions actually belong in a separate js file? That way we could import either as needed. I just realized, that I actually want to use...
Ok, but then why are these functions like `minutesAgo` not available in the Sugar Date object?
Sorry... I did not realize this function was static and not part of the created/initialized Sugar.Date object. This is working just fine. ``` Sugar.Date.minutesAgo(refreshTime); ``` I assumed I would be...
I think I see what you mean now.. The Date object in Sugar is just a regular Date object, not a special "Sugar"-Date object. So enabling the extended mode, will...