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

2.1.4 • Public • Published

Installation

npm install --save @types/moment-shortformat

Summary

This package contains type definitions for moment-shortformat (https://github.com/researchgate/moment-shortformat#readme).

Details

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

index.d.ts

export as namespace moment;

import moment = require("moment");

export = moment;

declare module "moment" {
    interface Moment {
        short(withoutPreOrSuffix?: boolean, now?: Moment): string;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: moment

Credits

These definitions were written by whatasoda.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/moment-shortformat

Weekly Downloads

691

Version

2.1.4

License

MIT

Unpacked Size

3.11 kB

Total Files

5

Last publish

Collaborators

  • types