From 864ff620dad679f3c698be765c5a4f66e9ecf3d9 Mon Sep 17 00:00:00 2001 From: Wuli Zuo Date: Tue, 22 Oct 2024 18:55:12 +1030 Subject: [PATCH] typings: add missing type of `ArrayBufferPrototypeGetByteLength` PR-URL: https://github.com/nodejs/node/pull/55439 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca --- typings/primordials.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/primordials.d.ts b/typings/primordials.d.ts index 387a53025fd..c263bd9c4e2 100644 --- a/typings/primordials.d.ts +++ b/typings/primordials.d.ts @@ -154,6 +154,7 @@ declare namespace primordials { export const ArrayBufferPrototypeGetDetached: UncurryThis export const ArrayBufferPrototypeSlice: UncurryThis export const ArrayBufferPrototypeTransfer: UncurryThis + export const ArrayBufferPrototypeGetByteLength: UncurryGetter; export const AsyncIteratorPrototype: AsyncIterable; export import BigInt = globalThis.BigInt; export const BigIntPrototype: typeof BigInt.prototype