entity类型声明修改
This commit is contained in:
parent
8efb35ebcb
commit
f0d3909236
|
|
@ -7,7 +7,7 @@ import { ButtonProps as AmButtonProps } from 'antd-mobile';
|
|||
type AfterCommit = (() => void) | undefined;
|
||||
type BeforeCommit = (() => boolean | undefined | Promise<boolean | undefined>) | undefined;
|
||||
declare const _default: <ED2 extends EntityDict & BaseEntityDict, T2 extends keyof ED2>(props: ReactComponentProps<ED2, T2, true, {
|
||||
entity: ED2;
|
||||
entity: keyof ED2;
|
||||
action?: string | undefined;
|
||||
size?: ButtonProps['size'] | AmButtonProps['size'];
|
||||
block?: boolean | undefined;
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ export default OakComponent({
|
|||
T2,
|
||||
true,
|
||||
{
|
||||
entity: ED2;
|
||||
entity: keyof ED2;
|
||||
action?: string;
|
||||
size?: ButtonProps['size'] | AmButtonProps['size'];
|
||||
block?: boolean;
|
||||
|
|
|
|||
Loading…
Reference in New Issue