diff --git a/sugar/sugar.d.ts b/sugar/sugar.d.ts index 6270ed2330..9cb548f716 100644 --- a/sugar/sugar.d.ts +++ b/sugar/sugar.d.ts @@ -3076,6 +3076,11 @@ interface ObjectConstructor { **/ map(obj: T, map: (key: string, value: any) => any): U; + /** + * @see map + **/ + each(obj: any, map: (key: string, value: any) => void): void; + /** * @see map **/ @@ -4174,7 +4179,7 @@ interface DateConstructor { * @example * Date.now() -> ex. 1311938296231 **/ - now(): string; + now(): number; /** * Alternate form of %Date.create% with any ambiguity assumed to be the past.