From 1d23a699bae66c613b7e8f68826eeef586b41f5e Mon Sep 17 00:00:00 2001 From: dencap Date: Fri, 20 Nov 2015 15:01:35 +0100 Subject: [PATCH] Fixed the signature of concat, that takes as input an array --- bytebuffer/bytebuffer.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bytebuffer/bytebuffer.d.ts b/bytebuffer/bytebuffer.d.ts index 0bfaed7c16..8f1a800eae 100644 --- a/bytebuffer/bytebuffer.d.ts +++ b/bytebuffer/bytebuffer.d.ts @@ -131,7 +131,7 @@ declare class ByteBuffer /** * Concatenates multiple ByteBuffers into one. */ - static concat( buffers: Array | ArrayBuffer | Uint8Array | string, encoding?: string | boolean, litteEndian?: boolean, noAssert?: boolean ): ByteBuffer; + static concat( buffers: Array, encoding?: string | boolean, litteEndian?: boolean, noAssert?: boolean ): ByteBuffer; /** * Decodes a base64 encoded string to a ByteBuffer.