1.0.7 • Published 6 months ago

@types/moment-strftime2 v1.0.7

Weekly downloads
18
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/moment-strftime2

Summary

This package contains type definitions for moment-strftime2 (https://github.com/ShogunPanda/moment-strftime2).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/moment-strftime2.

index.d.ts

// Type definitions for moment-strftime2 1.0
// Project: https://github.com/ShogunPanda/moment-strftime2
// Definitions by: Piotr Roszatycki <https://github.com/dex4er>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

import * as _moment from 'moment';

declare module "moment" {
    interface Moment {
        strftime(pattern: string): string;
    }
}

declare module "moment-timezone" {
    interface Moment {
        strftime(pattern: string): string;
    }
}

export interface Modifiers {
    "%": string;
    A: string;
    B: string;
    C?: string | undefined;
    D: string;
    E?: string | undefined;
    F: string;
    G?: string | undefined;
    H: string;
    I: string;
    J?: string | undefined;
    K?: string | undefined;
    L: string;
    M: string;
    N?: string | undefined;
    O?: string | undefined;
    P: string;
    Q?: string | undefined;
    R: string;
    S: string;
    T: string;
    U?: string | undefined;
    V: string;
    W: string;
    X?: string | undefined;
    Y: string;
    Z: string;
    a: string;
    b: string;
    c?: string | undefined;
    d: string;
    e: string;
    f?: string | undefined;
    g: string;
    h: string;
    i?: string | undefined;
    j: string;
    k: string;
    l: string;
    m: string;
    n?: string | undefined;
    o?: string | undefined;
    p: string;
    q?: string | undefined;
    r: string;
    s: string;
    t?: string | undefined;
    u: string;
    v?: string | undefined;
    w: string;
    x?: string | undefined;
    y: string;
    z: string;
}

export let modifiers: Modifiers;

export let separator: string;

export function installTo(moment: object): void;

Additional Details

  • Last updated: Thu, 08 Jul 2021 18:50:55 GMT
  • Dependencies: @types/moment
  • Global values: none

Credits

These definitions were written by Piotr Roszatycki.

1.0.7

6 months ago

1.0.6

7 months ago

1.0.5

8 months ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago