From b201544fedb6d9db85a982875b1fb5b86f5f3aa8 Mon Sep 17 00:00:00 2001 From: Gordon Farquharson Date: Thu, 21 May 2026 15:11:31 +0100 Subject: [PATCH] fix: :adhesive_bandage: added Response.clone to the commented out types Ensure global types displays Response.clone() even though it is commented out and not supported --- types/globals.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/globals.d.ts b/types/globals.d.ts index ab04233..03ac0d3 100644 --- a/types/globals.d.ts +++ b/types/globals.d.ts @@ -509,12 +509,13 @@ declare var Response: { json(data: any, init?: ResponseInit): Response; // --------------------------------------------------------------------------- - // Spec static methods not implemented by the StarlingMonkey runtime + // Spec methods not implemented by the StarlingMonkey runtime // --------------------------------------------------------------------------- // Will be uncommented when the runtime exposes them. See: // runtime/StarlingMonkey/builtins/web/fetch/request-response.cpp // - // error(): Response; + // error(): Response; // static + // prototype.clone(): Response; // instance }; /**