From 68a15ee071773fdb4fbd3aa391a5f68cbbc32aaf Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Mon, 21 Sep 2026 21:03:48 -0700 Subject: [PATCH] Types: declare Buffer swap64 correctly --- ts/njs_core.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/njs_core.d.ts b/ts/njs_core.d.ts index f64c9576..3e288014 100644 --- a/ts/njs_core.d.ts +++ b/ts/njs_core.d.ts @@ -380,7 +380,7 @@ declare class Buffer extends Uint8Array { * * @throws {RangeError} if `buf.length` is not a multiple of 8. */ - swap32(): Buffer; + swap64(): Buffer; /** * Returns a JSON representation of this buffer. `JSON.stringify()` implicitly calls this -- 2.47.3