Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IScopedLogger > emitWarning

IScopedLogger.emitWarning() method

Call this function to emit an warning to the heft runtime.

Signature:

emitWarning(warning: Error): void;

Parameters

ParameterTypeDescription
warningError

Returns:

void