mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
422 B
TypeScript
15 lines
422 B
TypeScript
// Type definitions for easydate 2.2
|
|
// Project: https://github.com/roryrjb/easydate
|
|
// Definitions by: Satya Rohith <https://github.com/satyarohith>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = easydate;
|
|
|
|
interface DateConfig {
|
|
setDate?: string;
|
|
timeZone?: 'utc' | 'local';
|
|
adjust?: boolean;
|
|
}
|
|
|
|
declare function easydate(pattern: string, config?: DateConfig | string): string;
|