Home > @rushstack/node-core-library > ITerminal > writeWarning
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Write a warning message to the console with yellow text.
writeWarning(...messageParts: (string | IColorableSequence)): void;
|messageParts||(string | IColorableSequence)|
The yellow color takes precedence over any other foreground colors set.