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
refactor: update import of `Nullable` from `@univerjs/core` replacing incorrect `vitest` import
白熱00b78e6c58b0
diff --git a/packages/core/src/shared/object-matrix-query.ts b/packages/core/src/shared/object-matrix-query.tsindex 73fd7a04e2..8662536461 100644--- a/packages/core/src/shared/object-matrix-query.ts+++ b/packages/core/src/shared/object-matrix-query.ts@@ -14,7 +14,7 @@* limitations under the License.*/-import type { Nullable } from 'vitest';+import type { Nullable } from '../common/type-utils';import { Range } from '../sheets/range';import type { IRange } from '../types/interfaces';import type { ObjectMatrix } from './object-matrix';diff --git a/packages/sheets/src/commands/commands/set-row-visible.command.ts b/packages/sheets/src/commands/commands/set-row-visible.command.tsindex d791d339a7..33c4c3c862 100644--- a/packages/sheets/src/commands/commands/set-row-visible.command.ts+++ b/packages/sheets/src/commands/commands/set-row-visible.command.ts@@ -14,7 +14,7 @@* limitations under the License.*/-import type { ICommand, IRange } from '@univerjs/core';+import type { ICommand, IRange, Nullable } from '@univerjs/core';import {CommandType,ICommandService,@@ -24,7 +24,6 @@ import {sequenceExecute,} from '@univerjs/core';import type { IAccessor } from '@wendellhu/redi';-import type { Nullable } from 'vitest';import { NORMAL_SELECTION_PLUGIN_NAME, SelectionManagerService } from '../../services/selection-manager.service';import type { ISetRowHiddenMutationParams, ISetRowVisibleMutationParams } from '../mutations/set-row-visible.mutation';