Read the current diagnostics configuration.
A snapshot of the current DiagnosticsOptions.
const { warnings, strict, perf } = getDiagnostics(); Copy
const { warnings, strict, perf } = getDiagnostics();
Read the current diagnostics configuration.