1.1.6 • Published 1 year ago

@types/gradient-string v1.1.6

Weekly downloads
536
License
MIT
Repository
github
Last release
1 year 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-949wizard-fed-2024wirdlewordcounterbymsxcalculatorstart-frontendvistabyteui-clijskilliqra-adventure-gameiqra-calulatoriqra-cli-calculatoriqra-countdown-timeriqra-currency-converteriqra-num-guessiqra-oopiqra-oop-bankiqra-projectiqra-project1iqra-project2iqra-quiziqra-student-managmentiqra-todo-listiqra-word-counteropticore-create-database-clicreate-mesalvo-appopticore-created-database-clijanhendry_quizjanhendry_quiz1janhendy-quizesolhaventxt-countertypescript-calculatorterminalgpttodo-03usmcli_caltwenty-cli@aws/energy-workbench-clizain105-calculatorts-txt-counterus_num_guess@eagerworks/next-gen@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_counter@hammadrehman/guessthenumber_1@konkat/create-ts-package@lr56b/todo_cli@itsi/cli@mtlab1122/cli-calculator@monoflows/logger@janhendry/quiz@obdul/pascalinemsguessinggamemsaulehp2my_first-calculator-01mongoban8x-atm-assignn8x-atm-machinen8x-todolistmy-guessing-number-gameopticore-created-databaseopticore-databaseopticore-install-prismaopticore-mysql-databaseopticore-security-guardopticore-validatoropticore-asymmetric-rsa-keysopticore-auth-schema-modelopticore-authenticate-user-componentopticore-prisma-orm-installeropticore-project-installeroop-10redstartprogramming-quiz-gameno-guessing-gamenoex-clipocket-calculatorply-clipotati-cliqastodorhine-web3quiz-08quiz-javascript-theoryrest-ezlygm-numguessgameglim-cliimperial-cliink-gradientlemon-hive-testmarottemaria-11-oop-bankmaria-adventure-game-07maria-my-student-managment-system-06@wpackio/scripts
1.1.6

1 year ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

4 years ago

1.1.1

5 years ago

1.1.0

7 years ago