1.1.6 • Published 1 month ago

@types/gradient-string v1.1.6

Weekly downloads
536
License
MIT
Repository
github
Last release
1 month ago

Installation

npm install --save @types/gradient-string

Summary

This package contains type definitions for gradient-string (https://github.com/bokub/gradient-string).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gradient-string.

index.d.ts

// Type definitions for gradient-string 1.1
// Project: https://github.com/bokub/gradient-string
// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1

import tinycolor = require('tinycolor2');

declare namespace gradient {
    interface PositionedColorInput {
        color: tinycolor.ColorInput;
        pos: number;
    }

    interface Gradient {
        (message?: string, opt?: Options): string;
        multiline(message?: string, opt?: Options): string;
    }

    interface Options {
        interpolation?: string | undefined;
        hsvSpin?: string | undefined;
    }

    const atlas: Gradient;
    const cristal: Gradient;
    const teen: Gradient;
    const mind: Gradient;
    const morning: Gradient;
    const vice: Gradient;
    const passion: Gradient;
    const fruit: Gradient;
    const instagram: Gradient;
    const retro: Gradient;
    const summer: Gradient;
    const rainbow: Gradient;
    const pastel: Gradient;
}

declare function gradient(colors: tinycolor.ColorInput[] | gradient.PositionedColorInput[]): gradient.Gradient;
declare function gradient(...colors: tinycolor.ColorInput[]): gradient.Gradient;
declare function gradient(...colors: gradient.PositionedColorInput[]): gradient.Gradient;
export = gradient;

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:02:28 GMT
  • Dependencies: @types/tinycolor2
  • Global values: none

Credits

These definitions were written by Junyoung Clare Jang.

inbegroad-mono@inbegroad-tools/mono-admin@everything-registry/sub-chunk-949glim-cligm-numguessgamegame-word-counter-05gbtfirebase_user_managerflowmapperlemon-hive-testimperial-clijanhendry_quizjanhendry_quiz1janhendy-quizejskillink-gradientiqra-adventure-gameiqra-calulatoriqra-cli-calculatoriqra-countdown-timeriqra-currency-converteriqra-num-guessiqra-oopiqra-oop-bankiqra-projectiqra-project1iqra-project2iqra-quiziqra-student-managmentiqra-todo-listiqra-word-countermaria-11-oop-bankmaria-adventure-game-07maria-my-student-managment-system-06marotten8x-atm-assignn8x-atm-machinen8x-todolistmsguessinggamemy_first-calculator-01my-guessing-number-gamenoex-clino-guessing-gamemongobamsaulehp2ply-clipocket-calculatorprogramming-quiz-gamepotati-clioop-10qastodoredstartrhine-web3quiz-javascript-theoryquiz-08reliverse@eagerworks/next-gen@thmoon/templates@vbs/magic-cli-utilstxt-counterts-txt-counter@wpackio/scriptsaizaz-calculatorahmed_cli_atm@aws/energy-workbench-cliterminalgptus_num_guessusmcli_calatm_02twenty-clitypescript-calculatortodo-03b_gameascii-printer@janhendry/quiz@itsi/cli@konkat/create-ts-package@mtlab1122/cli-calculatorconvert-cli@monoflows/loggercountdown-timer-09@hammadrehman/guessthenumber_1xcalculator@lr56b/todo_cliwordcounterbymswirdlewizard-fed-2024calculatorcli-saqlaincalculatorby-sharmeenbm_calculator@hamza_rahim/currency_converter@hamza_rahim/hamza_atm@hamza_rahim/number_guessing@hamza_rahim/oop_mybank@hamza_rahim/student_management@hamza_rahim/todo_list@hamza_rahim/word_counterzain105-calculatorcalcgmcalculator-hyperx
1.1.6

1 month ago

1.1.5

6 months ago

1.1.4

7 months ago

1.1.3

8 months ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

6 years ago