npm.io
1.2.33 • Published 2 years ago

@types/iso8601-localizer

Licence
MIT
Version
1.2.33
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Aviel Fedida.