From af2ba368162d750da72d4eb40074735f3d4eed2e Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Wed, 9 Jul 2025 12:05:39 +0100 Subject: [PATCH] lib: fix incorrect `ArrayBufferPrototypeGetDetached` primordial type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/58978 Reviewed-By: Yagiz Nizipli Reviewed-By: Michaël Zasso Reviewed-By: James M Snell Reviewed-By: Chengzhong Wu Reviewed-By: Juan José Arboleda --- typings/primordials.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/primordials.d.ts b/typings/primordials.d.ts index 13fed5b39e..cba2cd0aea 100644 --- a/typings/primordials.d.ts +++ b/typings/primordials.d.ts @@ -164,7 +164,7 @@ declare namespace primordials { export import ArrayBuffer = globalThis.ArrayBuffer; export const ArrayBufferPrototype: typeof ArrayBuffer.prototype export const ArrayBufferIsView: typeof ArrayBuffer.isView - export const ArrayBufferPrototypeGetDetached: UncurryThis + export const ArrayBufferPrototypeGetDetached: UncurryGetter; export const ArrayBufferPrototypeSlice: UncurryThis export const ArrayBufferPrototypeTransfer: UncurryThis export const ArrayBufferPrototypeGetByteLength: UncurryGetter;