Installation
npm install --save @types/iso8601-localizer
Summary
This package contains type definitions for iso8601-localizer (https://github.com/avielfedida/ISO8601-Localizer).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iso8601-localizer.
index.d.ts
interface localizer {
to(offset: number): localizer;
returnAs(as: string): localizer;
localize(): string;
}
declare class ISO8601Localizer implements localizer {
constructor(userISO8601: string);
to(offset: number): localizer;
returnAs(as: string): localizer;
localize(): string;
}
declare module "iso8601-localizer" {
export = ISO8601Localizer;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Aviel Fedida.