From 736c085a5d59e6974eb9170e7f8f8a2ffcd396e6 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 387a53025fde9d..c263bd9c4e243b 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