mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-23 10:04:47 -05:00
Fix the type of growable on SharedArrayBuffer. (#60163)
This commit is contained in:
committed by
GitHub
parent
009b3ffdda
commit
cd6c0a0b6b
2
src/lib/es2024.sharedmemory.d.ts
vendored
2
src/lib/es2024.sharedmemory.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user