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

0.1.6 • Public • Published

Installation

npm install --save @types/moment-business

Summary

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

Details

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

index.d.ts

import * as moment from "moment";

export function weekDays(startMoment: moment.Moment, endMoment: moment.Moment): number;
export function weekendDays(startMoment: moment.Moment, endMoment: moment.Moment): number;
export function addWeekDays(moment: moment.Moment, amount: number): moment.Moment;
export function subtractWeekDays(moment: moment.Moment, amount: number): moment.Moment;
export function isWeekDay(moment: moment.Moment): boolean;
export function isWeekendDay(moment: moment.Moment): boolean;

Additional Details

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

Credits

These definitions were written by Greg Sieranski.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/moment-business

Weekly Downloads

12,095

Version

0.1.6

License

MIT

Unpacked Size

3.67 kB

Total Files

5

Last publish

Collaborators

  • types