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.

fix(sheet): fix spell error (#4425)

VicKun430f338d3209
diff --git a/packages/core/src/facade/f-event.ts b/packages/core/src/facade/f-event.ts
index 6228bd54e8..550df6f446 100644
--- a/packages/core/src/facade/f-event.ts
+++ b/packages/core/src/facade/f-event.ts
@@ -42,14 +42,14 @@ export type IUnitCreateEvent = IEventBase & (ISheetCreateParam | IDocumentCreate
export type ILifeCycleChangedEvent = IEventBase & ILifeCycleChangedParam;
export class FEventName {
- static _intance: FEventName | null;
+ static _instance: FEventName | null;
static get() {
- if (this._intance) {
- return this._intance;
+ if (this._instance) {
+ return this._instance;
}
const instance = new FEventName();
- this._intance = instance;
+ this._instance = instance;
return instance;
}
diff --git a/packages/sheets-filter/src/facade/f-event.ts b/packages/sheets-filter/src/facade/f-event.ts
index 0151ebbb6c..927aea388a 100644
--- a/packages/sheets-filter/src/facade/f-event.ts
+++ b/packages/sheets-filter/src/facade/f-event.ts
@@ -37,7 +37,7 @@ export interface IFSheetFilterEventMixin {
*/
readonly SheetRangeFiltered: 'SheetRangeFiltered';
/**
- * This event will be emitted beftore the filter criteria on a column is changed.
+ * This event will be emitted before the filter criteria on a column is changed.
* Type of the event is {@link ISheetRangeFilteredParams}.
*
* @example