@scalar/api-client
Version:
the open source API testing client
12 lines • 523 B
TypeScript
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
/**
* This function counts the number of error and warning markers in the provided array of Monaco editor markers.
*
* @param markers - The array of Monaco editor markers to count the errors and warnings for
* @returns An object with the number of errors and warnings
*/
export declare const getDiagnosticCounts: (markers: monaco.editor.IMarker[]) => {
errors: number;
warnings: number;
};
//# sourceMappingURL=get-diagnostic-counts.d.ts.map