mirror of
https://github.com/dream-num/univer.git
synced 2026-10-24 12:04:33 +08:00
chore: type fix (#4071)
This commit is contained in:
@@ -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, []);
|
||||
|
||||
Reference in New Issue
Block a user