You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
312 B
15 lines
312 B
5 months ago
|
/**
|
||
|
* 将一个或者多个对象值解构到目标对象
|
||
|
* @param obj 对象
|
||
|
* @param target 目标
|
||
|
*/
|
||
|
export declare function destructuring<T>(obj: T, ...target: any[]): T;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
destructuring: typeof destructuring;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default destructuring
|