1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/destructuring.d.ts
vendored
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/destructuring.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 将一个或者多个对象值解构到目标对象
|
||||
* @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
|
||||
Reference in New Issue
Block a user