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

1.0.3 • Public • Published

Installation

npm install --save @types/accurate-interval

Summary

This package contains type definitions for accurate-interval (https://github.com/klyngbaek/accurate-interval#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/accurate-interval.

index.d.ts

declare function accurateInterval(
    func: (scheduledTime: number) => void,
    interval: number,
    opts: accurateInterval.Opts,
): accurateInterval.AccurateInterval;
export = accurateInterval;

declare namespace accurateInterval {
    interface Opts {
        aligned: boolean;
        immediate: boolean;
    }

    interface AccurateInterval {
        clear: () => void;
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by Artur Dziedziczak.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/accurate-interval

Weekly Downloads

17

Version

1.0.3

License

MIT

Unpacked Size

3.4 kB

Total Files

5

Last publish

Collaborators

  • types