Skip to content

Commit 5cb8ea9

Browse files
committed
[Types] Update signature
1 parent 6f5f8aa commit 5cb8ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assembly/node.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ declare class Buffer extends Uint8Array {
44
/** This method allocates a new Buffer of indicated size. This is unsafe because the data is not zeroed. */
55
static allocUnsafe(size: i32): Buffer;
66
/** This method concatenates an array of `U extends Uint8Array` objects. */
7-
static concat<T extends Uint8Array[]>(list: T, totalLength: i32): Buffer;
7+
static concat(list: Buffer[], totalLength: i32): Buffer;
88
}

0 commit comments

Comments
 (0)