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​

Parameter

Type

Description

warning

Error

Returns:

void