export type Props = { [P in keyof T]?: Props; }; /** * 快速设置 * @param obj * @param props */ export declare function setProps(obj: T, props: Partial): T; export declare const sp: typeof setProps;