kjelsrud.dev/node_modules/suf-log/dist/styler.d.ts
2023-07-19 21:31:30 +02:00

10 lines
319 B
TypeScript

import { LogStyle } from './interfaces';
/**
* this function is not browser compatible*.
* @example ```ts
* console.log(styler('test', 'red'))
* ```
*
* *you have to add the styles manually, use the Log function for browser compatibly.
*/
export declare function styler(input: string, style?: LogStyle): string;