Skip to content

[F] ignoreDiagnostics

function ignoreDiagnostics<T>(result): T;

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

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

T

Actual result.