Skip to content

Commit

Permalink
feat: cleanup jsdoc (#4553)
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai authored Jan 23, 2025
1 parent 99127d7 commit 31a8aa8
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/shared/vite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ async function buildESM(sharedConfig: InlineConfig, options: IBuildExecuterOptio
entryRoot: 'src',
outDir: 'lib/types',
clearPureImport: false,
exclude: ['**/__tests__/**'],
})
);
}
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/facade/f-enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ import { ThemeColorType } from '../types/enum/theme-color-type';
* @hideconstructor
*/
export class FEnum {
/**
* @ignore
*/
static _instance: FEnum | null;

static get() {
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/facade/f-event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ export interface ICommandEvent extends IEventBase {
* @hideconstructor
*/
export class FEventName {
/**
* @ignore
*/
static _instance: FEventName | null;

static get() {
if (this._instance) {
return this._instance;
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/facade/f-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ import { numfmt, Rectangle, Tools } from '../shared';
* @ignore
*/
export class FUtil {
/**
* @ignore
*/
static _instance: FUtil | null;

static get() {
if (this._instance) {
return this._instance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { BooleanNumber, ColorKit, Tools } from '@univerjs/core';
import { CFNumberOperator, CFRuleType, CFSubRuleType, CFTextOperator, CFValueType, createCfId, EMPTY_ICON_TYPE, iconMap } from '@univerjs/sheets-conditional-formatting';

/**
* @ignore
* @hideconstructor
*/
class ConditionalFormatRuleBaseBuilder {
Expand Down
3 changes: 3 additions & 0 deletions packages/sheets-data-validation/src/facade/f-univer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ export class FUnvierDataValidationMixin extends FUniver {

FUniver.extend(FUnvierDataValidationMixin);
declare module '@univerjs/core' {
/**
* @ignore
*/
// eslint-disable-next-line ts/no-namespace
namespace FUniver {
function newDataValidation(): FDataValidationBuilder;
Expand Down
3 changes: 3 additions & 0 deletions packages/sheets/src/facade/f-workbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,9 @@ export class FWorkbook extends FBaseInitialable {
}
}

/**
* @ignore
*/
// eslint-disable-next-line ts/no-namespace
export namespace FWorkbook {
export type FontLine = _FontLine;
Expand Down

0 comments on commit 31a8aa8

Please sign in to comment.