summaryrefslogtreecommitdiff
path: root/js/src/Ice/ArrayUtil.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/ArrayUtil.d.ts')
-rw-r--r--js/src/Ice/ArrayUtil.d.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/js/src/Ice/ArrayUtil.d.ts b/js/src/Ice/ArrayUtil.d.ts
new file mode 100644
index 00000000000..1bac362dfbc
--- /dev/null
+++ b/js/src/Ice/ArrayUtil.d.ts
@@ -0,0 +1,21 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+declare module "ice"
+{
+ namespace Ice
+ {
+ class ArrayUtil
+ {
+ static clone<T>(arr:T[]):T[];
+ static equals(lhs:any[]|Uint8Array, rhs:any[]|Uint8Array, valuesEqual?:(v1:any, v2:any)=>boolean):boolean;
+ static shuffle(arr:any[]):void;
+ }
+ }
+}