Skip to content

Commit

Permalink
Fix the type of growable on SharedArrayBuffer. (#60163)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser authored Oct 7, 2024
1 parent 009b3ff commit cd6c0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/es2024.sharedmemory.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cd6c0a0

Please sign in to comment.