2.2.4 • Published 2 years ago

@types/easydate v2.2.4

Weekly downloads
10
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/easydate

Summary

This package contains type definitions for easydate (https://github.com/roryrjb/easydate).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/easydate.

index.d.ts

// 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 | undefined;
    timeZone?: 'utc' | 'local' | undefined;
    adjust?: boolean | undefined;
}

declare function easydate(pattern: string, config?: DateConfig | string): string;

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:01:03 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Satya Rohith.