server-ts: Implement review comments

This commit is contained in:
Elian Doran
2024-02-17 18:55:41 +02:00
parent 8af5434462
commit 1e91db865b
5 changed files with 9 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
import crypto = require('crypto');
import log = require('../log');
function arraysIdentical(a: Buffer, b: Buffer) {
function arraysIdentical(a: any[] | Buffer, b: any[] | Buffer) {
let i = a.length;
if (i !== b.length) return false;
while (i--) {