diff --git a/index.d.ts b/index.d.ts index 7e22c45..d70f77e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -147,6 +147,13 @@ declare namespace chalk { DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} `); ``` + + @example + ``` + import chalk = require('chalk'); + + log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`) + ``` */ (text: TemplateStringsArray, ...placeholders: unknown[]): string;