From cd6c0a0b6b8659f49344951219c74a516fdec9a2 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Mon, 7 Oct 2024 13:41:43 -0700 Subject: [PATCH] Fix the type of `growable` on `SharedArrayBuffer`. (#60163) --- src/lib/es2024.sharedmemory.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es2024.sharedmemory.d.ts b/src/lib/es2024.sharedmemory.d.ts index e520374568c68..672c714508b0d 100644 --- a/src/lib/es2024.sharedmemory.d.ts +++ b/src/lib/es2024.sharedmemory.d.ts @@ -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.