import * as chalk from "chalk" ; import { Chalk } from "chalk" ; export interface Bread { breadcrumb ? : string ; } export const BREAD_COLORS = [ chalk . magenta , chalk . cyan , chalk . redBright , chalk . greenBright , chalk . blueBright , chalk . magentaBright , chalk . cyanBright , chalk . yellowBright ] ; let colorCounter = 0 ; export function nextBreadColor ( ) { if ( colorCounter >= BREAD_COLORS . length ) { colorCounter = 0 ; } return BREAD_COLORS [ colorCounter ++ ] ; }