mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
timezoneJS.Date.toString have a handy format parameter so we daclare it (#27755)
This commit is contained in:
parent
c1c132972d
commit
80e003836d
2
types/timezone-js/index.d.ts
vendored
2
types/timezone-js/index.d.ts
vendored
@ -19,7 +19,7 @@ export declare class Date {
|
||||
setTimezone: (timezone: string) => void;
|
||||
|
||||
// regular Date members
|
||||
toString(): string;
|
||||
toString(format?:string): string;
|
||||
toDateString(): string;
|
||||
toTimeString(): string;
|
||||
toLocaleString(): string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user