API Reference

UniverInstanceType

Unit types used by univer.createUnit() and instance APIs. The Facade provides product-specific creation methods such as createWorkbook() and createDocument().

Import

TypeScript
import { UniverInstanceType } from '@univerjs/core'

Definition

TypeScript
enum UniverInstanceType {  UNIVER_UNKNOWN = 0,  UNIVER_DOC = 1,  UNIVER_SHEET = 2,  UNIVER_SLIDE = 3,  UNIVER_PROJECT = 4,  UNIVER_BASE = 5,  UNIVER_BOARD = 6,  UNIVER_PDF = 7,  UNRECOGNIZED = -1,}

Package: @univerjs/core · Type definitions

How is this guide?

© 2026 DreamNum Co., Ltd.