Rest
...placeholders: unknown[]Template literals are unsupported for nested calls (see issue #341)
import chalk = require('chalk');
log(chalk`
CPU: {red ${cpu.totalPercent}%}
RAM: {green ${ram.used / ram.total * 100}%}
DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
`);
import chalk = require('chalk');
log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`)
Rest
...text: unknown[]Generated using TypeDoc
Use a template string.