mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Change 'export default' to 'export =' For packages that don't actually export a 'default' property. * 7 more packages
28 lines
762 B
TypeScript
28 lines
762 B
TypeScript
// Type definitions for palx 1.0
|
|
// Project: https://github.com/jxnblk/palx
|
|
// Definitions by: Mike Fowler <https://github.com/mikefowler>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = palx;
|
|
declare function palx(hex: string, options?: {}): palx.PalxPalette;
|
|
declare namespace palx {
|
|
interface PalxPalette {
|
|
[name: string]: string | string[];
|
|
base: string;
|
|
black: string;
|
|
blue: string[];
|
|
cyan: string[];
|
|
fuschia: string[];
|
|
gray: string[];
|
|
green: string[];
|
|
indigo: string[];
|
|
lime: string[];
|
|
orange: string[];
|
|
pink: string[];
|
|
red: string[];
|
|
teal: string[];
|
|
violet: string[];
|
|
yellow: string[];
|
|
}
|
|
}
|