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
fix(facade): createUniverSheet interface (#1251)
Wenzhao Hubb888c70b5c1
diff --git a/packages/facade/src/apis/facade.ts b/packages/facade/src/apis/facade.tsindex c0446dfe75..f07621d604 100644--- a/packages/facade/src/apis/facade.ts+++ b/packages/facade/src/apis/facade.ts@@ -62,7 +62,7 @@ export class FUniver {* @param data the snapshot of the spreadsheet.* @returns Spreadsheet API instance.*/- createUniverSheet(data: IWorkbookData): FWorkbook {+ createUniverSheet(data: Partial<IWorkbookData>): FWorkbook {const workbook = this._univerInstanceService.createSheet(data);return this._injector.createInstance(FWorkbook, workbook);}