Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: fix comment error of facade api (#6016)

VicKun95d96f3b2b86
diff --git a/packages/sheets-ui/src/facade/f-worksheet.ts b/packages/sheets-ui/src/facade/f-worksheet.ts
index 5d22a9bddc..293fbacbaf 100644
--- a/packages/sheets-ui/src/facade/f-worksheet.ts
+++ b/packages/sheets-ui/src/facade/f-worksheet.ts
@@ -53,7 +53,7 @@ export interface IFWorksheetSkeletonMixin {
* const fWorkbook = univerAPI.getActiveWorkbook();
* const fWorksheet = fWorkbook.getActiveSheet();
* const ranges = [fWorksheet.getRange('A1:B2'), fWorksheet.getRange('D4:E5')];
- * const disposable = fWorksheet.highlightRanges(ranges, { backgroundColor: 'yellow' });
+ * const disposable = fWorksheet.highlightRanges(ranges, { fill: 'yellow' });
*
* // To remove the highlights later
* disposable.dispose();