UNPKG
js-wrench
Version:
latest (1.3.1)
1.3.1
1.3.0
1.2.2
1.2.1
JS函数库
js-wrench
/
d.ts
/
modules
/
extend.d.ts
10 lines
(9 loc)
•
286 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** *
@description
把一个对象上的属性拷贝到另个对象上 * *
@param
{
*
} thisArgs 拷贝对象 *
@param
{
*
} target 需要被拷贝的对象 *
@example
extend({a:1}, {b:1}) */
declare
const
extend
:
(
thisArgs
:
any
,
target
:
any
) =>
void
;
export
default
extend;