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.

refactor(core): change `BooleanNumber` to a regular enum (#3571)

白熱53551b2137af
diff --git a/packages/core/src/types/enum/text-style.ts b/packages/core/src/types/enum/text-style.ts
index 6e5967aa8b..4aff53bf2b 100644
--- a/packages/core/src/types/enum/text-style.ts
+++ b/packages/core/src/types/enum/text-style.ts
@@ -124,8 +124,7 @@ export enum BaselineOffset {
/**
* General Boolean Enum
*/
-// eslint-disable-next-line no-restricted-syntax
-export const enum BooleanNumber {
+export enum BooleanNumber {
FALSE = 0,
TRUE = 1,
}