mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
5b98819a85
- [WIP] migrate utility methods.
8 lines
190 B
TypeScript
8 lines
190 B
TypeScript
export default function(target: Object, ...args: Array<Object>) {
|
|
target = { ...target }
|
|
for (let i = 0; i < args.length; i++) {
|
|
Object.assign(target, args[i])
|
|
}
|
|
return target
|
|
}
|