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 6b223c4 commit 005f857
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 005f857

Please sign in to comment.