Improve date binding compatibility

This commit is contained in:
dcodeIO
2018-11-11 10:43:17 +01:00
parent 1fad3d26c7
commit 9ab7384122
6 changed files with 31 additions and 23 deletions

View File

@ -442,7 +442,7 @@ declare class Date {
/** Returns the UTC timestamp of this date in milliseconds. */
getTime(): number;
/** Sets the UTC timestamp of this date in milliseconds. */
setTime(value: number): void;
setTime(value: number): number;
}
declare namespace console {