@storm-software/config-tools
Version:
⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.
31 lines (29 loc) • 954 B
TypeScript
type GetChalkReturn = {
hex: (_: string) => (message?: string) => string | undefined;
bgHex: (_: string) => {
whiteBright: (message?: string) => string | undefined;
};
whiteBright: (message?: string) => string | undefined;
gray: (message?: string) => string | undefined;
bold: {
hex: (_: string) => (message?: string) => string | undefined;
bgHex: (_: string) => {
whiteBright: (message?: string) => string | undefined;
};
whiteBright: (message?: string) => string | undefined;
};
dim: {
hex: (_: string) => (message?: string) => string | undefined;
gray: (message?: string) => string | undefined;
};
};
/**
* Get the chalk instance
*
* @remarks
* Annoying polyfill to temporarily fix the issue with the `chalk` import
*
* @returns The chalk instance
*/
declare const getChalk: () => GetChalkReturn;
export { type GetChalkReturn, getChalk };