npm install --save @types/tz-format
This package contains type definitions for tz-format (https://github.com/SamVerschueren/tz-format).
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;
- Last updated: Wed, 30 Oct 2024 17:34:16 GMT
- Dependencies: none
These definitions were written by Sam Verschueren.