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

1.0.3 • Public • Published

Installation

npm install --save @types/pretty-hrtime

Summary

This package contains type definitions for pretty-hrtime (https://github.com/robrich/pretty-hrtime).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-hrtime.

index.d.ts

export = prettyHrtime;

declare function prettyHrtime(hrTime: [number, number], options?: prettyHrtime.Options): string;

declare namespace prettyHrtime {
    interface Options {
        verbose?: boolean | undefined;
        precise?: boolean | undefined;
    }
}

Additional Details

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

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/pretty-hrtime

Weekly Downloads

4,785,013

Version

1.0.3

License

MIT

Unpacked Size

3.12 kB

Total Files

5

Last publish

Collaborators

  • types