Commit bbfc5065 authored by XieZhiXiong's avatar XieZhiXiong

chore: 增加泛型

parent c32fc8aa
...@@ -37,7 +37,7 @@ export interface EditableRowProps extends React.HTMLAttributes<HTMLElement> { ...@@ -37,7 +37,7 @@ export interface EditableRowProps extends React.HTMLAttributes<HTMLElement> {
onFieldsChange?: (changedFields: ChangedFieldsItem[]) => void, onFieldsChange?: (changedFields: ChangedFieldsItem[]) => void,
} }
interface EditableColumns extends ColumnType<any> { interface EditableColumns<T = any> extends ColumnType<T> {
dataIndex?: string | number; dataIndex?: string | number;
editable?: boolean; editable?: boolean;
rules?: Array<any>; rules?: Array<any>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment