DefinitelyTyped/types/palx/index.d.ts
Nathan Shively-Sanders 708214ef04 Change 'export default' to 'export =', part 2 (#33823)
* Change 'export default' to 'export ='

For packages that don't actually export a 'default' property.

* 7 more packages
2019-03-12 16:36:10 -07:00

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[];
}
}