Merge a partial diagnostics configuration into the current options.
A partial DiagnosticsOptions to apply.
Typically called during library initialization or from tests. Performs a shallow merge and doesn't validate unknown fields.
configureDiagnostics({ warnings: true, strict: false, perf: true }); Copy
configureDiagnostics({ warnings: true, strict: false, perf: true });
Merge a partial diagnostics configuration into the current options.