Fix the type of growable on SharedArrayBuffer. (#60163)

This commit is contained in:
Daniel Rosenwasser
2024-10-07 13:41:43 -07:00
committed by GitHub
parent 009b3ffdda
commit cd6c0a0b6b

View File

@@ -28,7 +28,7 @@ interface SharedArrayBuffer {
*
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/growable)
*/
get growable(): number;
get growable(): boolean;
/**
* If this SharedArrayBuffer is growable, returns the maximum byte length given during construction; returns the byte length if not.