UNPKG

jebcolors

Version:

npm module that contains colors, gradients and a class used to modify the colors or gradients

11 lines (10 loc) 537 B
import type { HexadecimalColor, CodeType } from './types'; declare class ColorError extends Error { } declare class Layer8Error extends Error { } export declare const invalidCodeOrNameError: (con: HexadecimalColor, identificator: string) => ColorError; export declare const couldntParseError: (con: HexadecimalColor, trying: CodeType, identificator: string) => ColorError; export declare const internalError: (identificator: string) => ColorError; export declare const layer8Error: (whatBad: string) => Layer8Error; export {};