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 merging errors

wzhudev245710921d90
diff --git a/packages/base-sheets/src/Commands/Commands/set-style.command.ts b/packages/base-sheets/src/Commands/Commands/set-style.command.ts
index 70fd963600..4740212b04 100644
--- a/packages/base-sheets/src/Commands/Commands/set-style.command.ts
+++ b/packages/base-sheets/src/Commands/Commands/set-style.command.ts
@@ -42,7 +42,7 @@ export interface ISetStyleParams<T> {
* The command to set cell style.
* Set style to a bunch of ranges.
*/
-export const SetStyleCommand: ICommand<ISetStyleParams> = {
+export const SetStyleCommand: ICommand<ISetStyleParams<unknown>> = {
type: CommandType.COMMAND,
id: 'sheet.command.set-style',
@@ -438,63 +438,3 @@ export const SetSpanCommand: ICommand = {
id: 'sheet.command.set-span',
handler: async (accessor, params) => true,
};
-
-export const SetFontFamilyCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-font-family',
- handler: async (accessor) => true,
-};
-
-export const SetFontSizeCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-font-family',
- handler: async (accessor) => true,
-};
-
-export const SetTextColorCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-font-family',
- handler: async (accessor) => true,
-};
-
-export const SetBackgroundColorCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-background-color',
- handler: async (accessor) => true,
-};
-
-export const SetCellBorderCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-cell-border',
- handler: async (accessor) => true,
-};
-
-export const SetSpanCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-span',
- handler: async (params) => true,
-};
-
-export const SetVerticalTextAlignCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-vertical-text-align',
- handler: async (params) => true,
-};
-
-export const SetHorizontalTextAlignCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-horizontal-text-align',
- handler: async (params) => true,
-};
-
-export const SetTextWrapCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-text-wrap',
- handler: async (params) => true,
-};
-
-export const SetTextRotationCommand: ICommand = {
- type: CommandType.COMMAND,
- id: 'sheet.command.set-text-rotation',
- handler: async (params) => true,
-};