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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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
exportimportArrayBuffer=globalThis.ArrayBuffer;
165165
exportconstArrayBufferPrototype: typeofArrayBuffer.prototype
166166
exportconstArrayBufferIsView: typeofArrayBuffer.isView
167-
exportconstArrayBufferPrototypeGetDetached: UncurryThis<typeofArrayBuffer.prototype.detached>
167+
exportconstArrayBufferPrototypeGetDetached: UncurryGetter<typeofArrayBuffer.prototype,'detached'>;
168168
exportconstArrayBufferPrototypeSlice: UncurryThis<typeofArrayBuffer.prototype.slice>
169169
exportconstArrayBufferPrototypeTransfer: UncurryThis<typeofArrayBuffer.prototype.transfer>
170170
exportconstArrayBufferPrototypeGetByteLength: UncurryGetter<typeofArrayBuffer.prototype,"byteLength">;

0 commit comments

Comments
 (0)