Skip to main content
Version: Next 🚧

[F] ignoreDiagnostics

function ignoreDiagnostics<T>(result): T

Ignore the diagnostics emitted by the diagnostic accessor pattern and just return the actual result.

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
resultDiagnosticResult<T>Accessor pattern tuple result including the actual result and the list of diagnostics.

Returns

T

Actual result.