1
This commit is contained in:
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/set.d.ts
vendored
Normal file
15
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/set.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 设置对象属性上的值。如果属性不存在则创建它
|
||||
* @param obj 对象
|
||||
* @param property 键、路径
|
||||
* @param value 值
|
||||
*/
|
||||
export declare function set(obj: any, property: string | string[], value: any): any;
|
||||
|
||||
declare module './ctor' {
|
||||
interface XEUtilsMethods {
|
||||
set: typeof set;
|
||||
}
|
||||
}
|
||||
|
||||
export default set
|
||||
Reference in New Issue
Block a user