DefinitelyTyped/types/cli-boxes/index.d.ts
2018-12-31 08:19:20 -08:00

24 lines
683 B
TypeScript

// Type definitions for cli-boxes 1.0
// Project: https://github.com/sindresorhus/cli-boxes
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
export = boxes;
declare const boxes: boxes.Boxes;
declare namespace boxes {
type BoxNames = 'single' | 'double' | 'round' | 'single-double' | 'double-single' | 'classic';
type Boxes = Record<BoxNames, BoxDefinition>;
interface BoxDefinition {
topLeft: string;
topRight: string;
bottomRight: string;
bottomLeft: string;
vertical: string;
horizontal: string;
}
}