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.
16 lines
336 B
16 lines
336 B
5 months ago
|
/**
|
||
|
* 设置对象属性上的值。如果属性不存在则创建它
|
||
|
* @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
|