@microsoft/fast-element > FASTGlobal > warn
FASTGlobal.warn() method
Sends a warning to the developer.
Signature:
warn(code: number, values?: Record<string, any>): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
number |
The warning code to send. |
|
values |
Record<string, any> |
(Optional) Values relevant for the warning message. |
Returns:
void