Skip to content

Commit cfaa299

Browse files
dario-piotrowicztargos
authored andcommitted
lib: fix incorrect ArrayBufferPrototypeGetDetached primordial type
PR-URL: #58978 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent 04c7514 commit cfaa299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/primordials.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ declare namespace primordials {
164164
export import ArrayBuffer = globalThis.ArrayBuffer;
165165
export const ArrayBufferPrototype: typeof ArrayBuffer.prototype
166166
export const ArrayBufferIsView: typeof ArrayBuffer.isView
167-
export const ArrayBufferPrototypeGetDetached: UncurryThis<typeof ArrayBuffer.prototype.detached>
167+
export const ArrayBufferPrototypeGetDetached: UncurryGetter<typeof ArrayBuffer.prototype, 'detached'>;
168168
export const ArrayBufferPrototypeSlice: UncurryThis<typeof ArrayBuffer.prototype.slice>
169169
export const ArrayBufferPrototypeTransfer: UncurryThis<typeof ArrayBuffer.prototype.transfer>
170170
export const ArrayBufferPrototypeGetByteLength: UncurryGetter<typeof ArrayBuffer.prototype , "byteLength">;

0 commit comments

Comments
 (0)