fix: TypeScript 4.8 update
@@ -16,6 +16,7 @@ and limitations under the License.
/// <reference no-default-lib="true"/>
+/// <reference lib="dom.extras" />
/////////////////////////////
@@ -11554,6 +11555,7 @@ interface Response extends Body {
declare var Response: {
prototype: Response;
new(body?: BodyInit | null, init?: ResponseInit): Response;
+ json(data: unknown, init?: ResponseInit): Response;
error(): Response;
redirect(url: string | URL, status?: number): Response;
};
