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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: type fix (#4071)
lumix83666138358a
diff --git a/packages/sheets/src/services/selections/selection-data-model.ts b/packages/sheets/src/services/selections/selection-data-model.tsindex b884c4a467..ddc81707b1 100644--- a/packages/sheets/src/services/selections/selection-data-model.ts+++ b/packages/sheets/src/services/selections/selection-data-model.ts@@ -113,6 +113,15 @@ export class WorkbookSelectionModel extends Disposable {return this._getCurrentSelections();}+ /**+ * @deprecated use `getSelectionsOfWorksheet` instead.+ * @param sheetId+ * @returns+ */+ getSelectionOfWorksheet(sheetId: string): ISelectionWithStyle[] {+ return this.getSelectionsOfWorksheet(sheetId);+ }+getSelectionsOfWorksheet(sheetId: string): ISelectionWithStyle[] {if (!this._worksheetSelections.has(sheetId)) {this._worksheetSelections.set(sheetId, []);