Skip to main content
method Console.warn
Console.warn(
message?: any,
...optionalParams: any[],
): void
Deprecated

The console.warn() function is an alias for error.

Parameters

optional
message: any
<span>...optionalParams</span>: any[]

Return Type

void
Back to top