UNPKG
deckbuilder
Version:
latest (1.1.2)
1.1.2
1.1.0
1.0.4
1.0.0
0.1.3
0.1.2
0.1.0
A deck building and management tool any card based games in the browser or Node.
deckbuilder
/
lib
/
utils
/
utils.d.ts
10 lines
(9 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
Card
from
'../interfaces/Card'
;
/** * Clone an object and its properties. * *
@param
{
Object
} o The object to clone. * *
@returns
{
Object
} Returns the cloned object. */
export
declare
function
deepCopy
(
o
:
any
):
Array
<
Card
>;