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

1.3.3 • Public • Published

Installation

npm install --save @types/cli-spinners

Summary

This package contains type definitions for cli-spinners (https://github.com/sindresorhus/cli-spinners#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cli-spinners.

index.d.ts

export = cliSpinners;

declare const cliSpinners: Record<cliSpinners.SpinnerName, cliSpinners.Spinner>;

declare namespace cliSpinners {
    type SpinnerName =
        | "dots"
        | "dots2"
        | "dots3"
        | "dots4"
        | "dots5"
        | "dots6"
        | "dots7"
        | "dots8"
        | "dots9"
        | "dots10"
        | "dots11"
        | "dots12"
        | "line"
        | "line2"
        | "pipe"
        | "simpleDots"
        | "simpleDotsScrolling"
        | "star"
        | "star2"
        | "flip"
        | "hamburger"
        | "growVertical"
        | "growHorizontal"
        | "balloon"
        | "balloon2"
        | "noise"
        | "bounce"
        | "boxBounce"
        | "boxBounce2"
        | "triangle"
        | "arc"
        | "circle"
        | "squareCorners"
        | "circleQuarters"
        | "circleHalves"
        | "squish"
        | "toggle"
        | "toggle2"
        | "toggle3"
        | "toggle4"
        | "toggle5"
        | "toggle6"
        | "toggle7"
        | "toggle8"
        | "toggle9"
        | "toggle10"
        | "toggle11"
        | "toggle12"
        | "toggle13"
        | "arrow"
        | "arrow2"
        | "arrow3"
        | "bouncingBar"
        | "bouncingBall"
        | "smiley"
        | "monkey"
        | "hearts"
        | "clock"
        | "earth"
        | "moon"
        | "runner"
        | "pong"
        | "shark"
        | "dqpb"
        | "weather"
        | "christmas"
        | "grenade"
        | "point"
        | "layer";

    interface Spinner {
        interval: number;
        frames: string[];
    }
}

Additional Details

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

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/cli-spinners

Weekly Downloads

11,730

Version

1.3.3

License

MIT

Unpacked Size

5.83 kB

Total Files

5

Last publish

Collaborators

  • types