Skip to content

Commit

Permalink
🏷️ fix(component-asset): 修正 AssetSchema 类型
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jun 17, 2023
1 parent 115eaf5 commit 5ba08b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ComponentAsset/types/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { EmitterEnv } from '@ant-design/pro-editor';
import type { EditorMode } from '../../ProEditor';
import type { JSONSchema } from '../types';

export type FuncAssetSchema<C> = (mode?: EditorMode) => JSONSchema & C;
export type FuncAssetSchema<C> = (mode?: EditorMode) => JSONSchema<C>;

/**
* 资产配置模型
Expand Down

0 comments on commit 5ba08b6

Please sign in to comment.