From c8e7f767b7c1c504233e6ce16a21faeebfa206c0 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 e53ea514a9b..6fefb134b96 100644 --- a/typings/primordials.d.ts +++ b/typings/primordials.d.ts @@ -153,6 +153,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