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.

ci: fix type error (#1634)

Dushusirfbf87b6369ae
diff --git a/packages/engine-formula/src/functions/text/text/index.ts b/packages/engine-formula/src/functions/text/text/index.ts
index 504946c2bd..56cdbb18d1 100644
--- a/packages/engine-formula/src/functions/text/text/index.ts
+++ b/packages/engine-formula/src/functions/text/text/index.ts
@@ -55,7 +55,7 @@ export class Text extends BaseFunction {
return textValue;
}
- let formatTextValue = formatTextArray.get(rowIndex, columnIndex);
+ let formatTextValue = formatTextArray.get(rowIndex, columnIndex) || StringValueObject.create(' ');
if (formatTextValue.isError()) {
return formatTextValue;