@types/tz-format
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Installation

npm install --save @types/tz-format

Summary

This package contains type definitions for tz-format (https://github.com/SamVerschueren/tz-format).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tz-format.

declare function format(): string;
declare function format(
    /**
     * Offset from UTC in hours.
     */
    offset: number,
): string;
declare function format(
    /**
     * Date to be formatted
     * @default new Date()
     */
    date: Date,
    /**
     * Offset from UTC in hours.
     */
    offset?: number,
): string;

export = format;

Additional Details

  • Last updated: Wed, 30 Oct 2024 17:34:16 GMT
  • Dependencies: none

Credits

These definitions were written by Sam Verschueren.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/tz-format

Weekly Downloads

59

Version

1.1.0

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types