public async Task SetDiagnosticsOptions(Languages.Json.DiagnosticsOptions options) { if (jsRuntime == null) { return; } await jsRuntime.InvokeVoidAsync("blazorMonaco.languages.json.jsonDefaults.setDiagnosticsOptions", options); }
public void SetDiagnosticsOptions(DiagnosticsOptions options) { DiagnosticsOptions = options; }