[F] ignoreDiagnostics
function ignoreDiagnostics<T>(result): T;Ignore the diagnostics emitted by the diagnostic accessor pattern and just return the actual result.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T |
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
result | DiagnosticResult<T> | Accessor pattern tuple result including the actual result and the list of diagnostics. |
Returns
Section titled “Returns”T
Actual result.